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

This is always good advice. One should strive so their code doesn't run into errors in the first place.

However, sometimes the errors are actually part of the fabric of the domain itself. They're expected to occur very frequently. The data it encodes is valuable. The way they're handled is important.

Nevertheless, you're right. More often than not, you're better of using traditional exception handling and preventing errors from occurring in the first place.



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

Search: