Settings

Theme

Try/Catch Considered Harmful

betterprogramming.pub

4 points by baptou12 2 years ago · 2 comments

Reader

eternityforest 2 years ago

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?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection