Reply to post: It could always be worse.

Error checks? Eh? What could go wrong, really? (DoSing a US govt site)

Will Godfrey Silver badge
Unhappy

It could always be worse.

Chatting to a supposed programmer some years back, he claimed he had a simple way to get out of heavily nested code. At the desired exit condition he simply wrote a line that would throw an error, and used the system's exception handling. Apparently he selected ones that his programs couldn't possibly throw in reality.

I'm pleased to say I never even saw any of his code.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon