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

Which Go doesn't fix either, because their errors are all just "error", aka you can also forget to catch the right type of error.

If only there was a way to combine optimizing the default path (bubbling), and still provide information on what errors exactly could happen. Something like a "?" operator and a Result monad...



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

Search: