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

The “if it’s possible” is a major part of the reason to not catch the root exception.

Catching typed exceptions give you much more easily parsable details about whether or not “it’s possible” to recover.

It’s bad practice to catch the root exception. More often than not, it points to an inexperienced developer



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

Search: