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

Both Java checked and unchecked exceptions are inferior to signaling errors by return values like Go/Rust/Haskell do.

Exceptions are not composable, cannot be generic, and it is not visible in the source code which lines can throw, so every line is a potential branching point.



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

Search: