Exceptions

52 words

This short article on Devlicio.us about the wrong way to catch exceptions is pretty funny.

I can do better though… at work I frequently encounter catch blocks that look like this:

catch( Exception ) { }

This is in one of the most critical of our applications, mind you. Yeah, fun stuff.

 

Originally posted on my personal blog which was active from 2003 to 2020.

Sorry, new comments are disabled on older posts. This helps reduce spam. Active commenting almost always occurs within a day or two of new posts.