My quick wish for 2012

My wish for 2012 is that every developer of <insert your project here>, assuming you use your own project, should use its own project with debugging symbols and enabled asserts.
If you feel sporty enough you can even enable asserts in your underlying lib.

That’s all, make real use of asserts, detect bugs early and we can all live in a happy world!

HINT: debugging symbols need not always mean that asserts are enabled, and please note that Q_ASSERT behaves different from assert.
Even if you are sure that you already do that, please do me a favor and double check.

I am writing this because some projects seem to ignore asserts completely. And I am not talking about super special situations… more like start with nearly default config -> hit assert + crash.

Leave a Reply