How not to handle errors.

Steve has an interesting post about C++ error handling.

At least your codebase, Steve, isn’t full of stuff like this.

catch (...)
{
    ASSERT(false);
}

This entry was posted in tech. Bookmark the permalink.

One Response to How not to handle errors.

  1. Well, the project to which I referred in the blog post didn’t, but that’s because it is a small one-off utility for my own uses. But as to the application for which I’m paid to work on, who says it isn’t?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>