3 ms·
> I should probably write a blog post about this or something. Please do. I did. Shameless self-plug: https://obdurodon.silvrback.com/error-handling https://o
by notacoward 7y ago
> I should probably write a blog post about this or something.
Please do. I did. Shameless self-plug:
https://obdurodon.silvrback.com/error-handling https://obdurodon.silvrback.com/error-handling
Maybe you'll find something of interest there, even if it's something to disagree with. That's fine; contrast improves visibility. Having written that just before the current surge of interest in the subject, I'm finding many of the discussions quite fascinating.
- eximius 7y agoIts interesting, but I'm not sure that your proposal still qualifies as concise. Nor am I sure that ADT-based error handling (Option/Result/etc) belongs should be considered silently dropped. Option certainly sees some abuse, but on the whole, `unwrap()` is a red flag that draws my attention. And, in Rust, with pattern matching and `?` to propagate errors, I see errors handled more often than not.