News for hackers. Stuff that matters.
Re:Isaacs: try/catch is an anti-pattern by qntm on Monday November 14, 2011 @06:18AM (#3233617)
> Try/catch is goto wrapped in pretty braces. There's no way to continue where you left off, once the error is handled.

...

> But still, nothing is as bad as the common "On Error Resume Next" that so many terrible VB programs start with.

Assuming "On Error Resume Next" does what I think it does, you can't complain about both of these at once.

Re:Isaacs: try/catch is an anti-pattern by michael_dorfman on Monday November 14, 2011 @06:46AM (#3233664)
"On Error Resume Next" does not do what you think it does. It ignores the error, and marches blithely on. That is very different than "continuing where you left off, once the error is handled."
Re:Isaacs: try/catch is an anti-pattern by mattdeboard on Monday November 14, 2011 @09:48AM (#3234136)
One of my personal pet peeves is seeing: "try: foo() \ except: pass" in code.