News for hackers. Stuff that matters.
Re:Beginner's guide to error handling in Rust by throwaway234232 on Sunday July 10, 2022 @02:12PM (#32047265)
> Usually people recommend crates designed to make the experience better but that's a failure in my opinion.

I agree, I love Rust, but I'd like to see error handling ergonomics improved.

I'd like to see error handling become more like Zig or Swift.

Until then, I cope with the `anyhow` and `thiserror` crate :|

Re:Beginner's guide to error handling in Rust by ReactiveJelly on Sunday July 10, 2022 @02:44PM (#32047576)
I guess I have the Blub effect. Coming from C++ and C#, Rust has my favorite error handling so far.