Hacker News new | past | comments | ask | show | jobs | submit login

As am I. "try" as sugar for a simple return, and "catch" to capture the error value.



How is that any different from exception handlers, which are so-named because they are for carrying exceptions, not errors?

Maybe you're leaving out the stack trace that one usually expects when propagating exceptions? I'm not sure that is meaningfully different, though.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: