This should never happen

Oct 11, 2010 14:07

I hate it when I'm troubleshooting a utility, and trace an error message to a block of code prefixed with

// Hopefully this will never happen

Since I'm not sure how to fix this, the adage that leaps to mind is "Never test for an error condition you don't know how to handle."

Leave a comment

Comments 2

bowucorm April 15 2011, 16:25:04 UTC
Did you heard what Rob Matts said about that?

Reply

arensb April 15 2011, 16:50:08 UTC
I don't even know who Rob Matts is, so no. What did he say?

Reply


Leave a comment

Up