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

> It may be that forcing handling at every call tends to makes code verbose

Rust has a lot of helpers to make it less verbose, even that error they demonstrate could've been written in some form `...code()?` with `?` helper that would have propagated the error forwards.

However I do acknowledge that writing Error types is boring sometimes so people don't bother to change their error types and just unwrap. But even my dinghy little apps for my personal use I do simple serach `unwrap` and make sure I have as few as possible.





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

Search: