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

There is a largely held opinion (that I share) that exceptions are a dated pattern that is better replaced by the more modern alternatives.

They are still much better than the older patterns they were created to replace, like multiple return.



Go uses multiple returns. Rust uses Result<T, E>




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

Search: