Barry's take on Assert

| 2 Comments
Barry Lapthorn has a response to my Assert is Evil posting where he concludes that assertions aren't needed if you have tests... He also raises a point that I missed which is that the typical assert on Windows machines causes a dialog box to pop up and stop your program giving you the option of debugging it or ignoring the assert, etc. This kind of response is not especially useful if you're writing code that doesn't interact with a user, such as a service, as the code may not be able to show a dialog box ...

2 Comments

Another salvo in the ongoing debate about assertions...

For those of you who didn't spot the link to Mark's latest post, it's here: http://sleeksoft.co.uk/public/techblog/articles/20050926_1.html

Interesting piece, Mark, I'll comment on it tomorrow.

Leave a comment

About this Entry

Good stuff was the previous entry in this blog.

Common knowledge to many, but... is the next entry in this blog.

I usually write about C++ development on Windows platforms, but I often ramble on about other less technical stuff...

Find recent content on the main index or look in the archives to find all content.

I have other blogs...

Subscribe to feed The Server Framework - high performance server development
Subscribe to feed Lock Explorer - deadlock detection and multi-threaded performance tools
Subscribe to feed l'Hexapod - embedded electronics and robotics
Subscribe to feed MegèveSki - skiing