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

You might want to read the thread again. You seem confused.

> The program catches the error, notifies the user, tries to mitigate it and display the contents it can extract to the user.

As you will see once you do, that's also my way. Only if you encounter an exception would you exit. As you point out, and to which I agree, your scenario is not exceptional. It is correctly identified as an error. You literally state as such, just as I would.

Again, exiting is reserved for exceptions. Encountering an error is not exceptional. Encountering an error is expected!



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

Search: