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

Its not the same. You have to explicitly declare the errors and if you want to ignore/propagate them, you have to do so explicitly as well.

You cant invoke a function and pretend it'll never fail.

Also, try/catch with long try blocks and a the error handling at the very end is just bad. Which of the statements in the try is throwing? Even multiple perhaps? Each should be handled individually and immediately





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

Search: