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

That's my take as well. Most of the code I write doesn't attempt to recover from error conditions. I would say at least 85% of the time I want the program to exit with enough information that I can tell what happened. So I propagate the exceptions up to the top level. Nothing could be easier.

This may all be a function of the environment in which my code runs, but I certainly have no interest in going back to my C days when 95% of the source was devoted error handling.





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

Search: