Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I believe you’re oversimplifying.

The approach that seems most common with serious Erlang systems is to identify the common errors and handle them without crashing.

Crashing on less common, or impossible to reproduce, errors allows you to gradually improve your error handling over time if it’s worthwhile, or just allow it to continue to crash into a saner state.

See the “bohrbug” vs “heisenbug” discussion: https://ferd.ca/the-zen-of-erlang.html



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: