News for hackers. Stuff that matters.
Re:Try/Catch Considered Harmful by eternityforest on Monday November 06, 2023 @04:54AM (#38160571)
Try blocks tend to only be a few lines long, unless they are defensive programming, in which case one doesn't need to reason about them at all, they are only there for the cases you weren't able to reason about anyway.

Does avoiding large size blocks not mostly solve the issue of confusing logic?

Re:Try/Catch Considered Harmful by baptou12 on Monday November 06, 2023 @04:10PM (#38169057)
I think that doesn't solve the problem of the variable scope