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

The proposals aren't reinventing exceptions. They are just making more ergonomic syntax for doing the same thing go error handling does today.


You can argue that is what an exception is. A more ergonomic way to deal with errors that handles propagation for you.


That doesn't mean that any ergonomic way to handle errors is necessarily an exception system. Rust's ? operator is more ergonomic than go's error handling, but it is definitely not an exception system.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: