Skip to content

Comment on Stop Catching Exceptions

Comments

> Use finally to stabilize program state when exceptions are thrown > Catch and handle exceptions locally when the effects of the error are local and completely understood > Wrap independent units of work in try-catch blocks to handle errors that have global impact

... isn't this what everybody does?

I have the opposite impression, but maybe that's because when a Java library does this right I never have to dive into the code.

i wish it was

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.