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

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>




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: