News for hackers. Stuff that matters.
Re:Don’t Use Try/Catch (2010) by V-2 on Saturday December 28, 2013 @12:51PM (#6975558)
True, but as a developer, I expect a comment inside your empty catch block telling me why it is justified. I can't remember ever seeing one...
Re:Don’t Use Try/Catch (2010) by JasonFruit on Saturday December 28, 2013 @01:33PM (#6975697)
Oddly, I have seldom seen an empty catch {} without a comment, though often it was simply to point out that, yes, this is intentional. Even that is better than leaving me wondering if the code is just unfinished.