Skip to content

Comment on Stop Catching Exceptionsparent

Comments

That's assuming you can continue on. Daemons and batch programs are unusual in that every so often, there's a conceptual "wipe clean" and all prior state doesn't matter. These are situations in which you know how to handle an error.

The alternative, to continue on in an error state without knowing how it will effect execution, is worse.

AboutSource Built by g1lg1l

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