News for hackers. Stuff that matters.
Re:Rust: Enums to Wrap Multiple Errors by rustnote on Friday October 08, 2021 @10:52PM (#28806603)
Error handling is one area I way prefer in Rust. It's trivial but having a single line "expect" to throw on some additional text to an error if it doesn't need anything else is really nice. In Go even something really simple might have a bunch of three line error checks everywhere and it just doesn't feel nice to me.

There are no comments on this comment yet.