Category Archives: Programming

General stuff about C++, PHP, Python.

C++ unit testing frameworks revisited

For a long time, I’ve been using UnitTest++ for all of my C++ unit testing needs. UnitTest++ is a very nice and small unit testing library, which covers all basic needs and is very easy to integrate with a project. … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

Reporting compiler bugs

Once in a life-time, you run into a compiler bug … well, that used to be the case, before HLSL/GLSL/OpenCL/CUDA/C++0x whatever started to crop up and require new front and especially code generation back-ends. More often than not, people just … Continue reading

Posted in Programming | Tagged , , | 2 Comments

Avoid unsigned types by default

For some reason or another, unsigned types in C++ are heavily overused. I know that Java doesn’t have them, and many students who learn programming with Java think this is a really serious deficiency which they have to make up … Continue reading

Posted in Programming | Tagged , | 12 Comments

Bazaar for version control

I’ve been a long-time user of Subversion – and I really like the project. However, I recently switched to Bazaar for nearly all of my work, and I’d like to explain some of the reasons behind this. First of all, … Continue reading

Posted in Programming | Tagged | 3 Comments