Try/Catch Considered Harmful
betterprogramming.pub
Try/Catch Considered Harmful
1–3 of 3 posts
Re: Try/Catch Considered Harmful
#2Try 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
#3Try 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?
I think that doesn't solve the problem of the variable scope