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

Incorrect for two reasons:

1) They follow a different code path (which is what makes them a superior way to handle errors over return values).

2) They cannot be emulated by sum types when all you want to do is not handle the exception and let it bubble up the stack frames.



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

Search: