Conversation

I'm not so sure - I guess I'm more of a fan of monadic error handling. Rust's lack of extensible variants can make managing all your error types abit annoying, I'll admit. The failure crate makes this nicer, but then you're effectively shelling out to dynamically typed errors.
1
2
Yeah.... monadic error handling sounds like the way we really "want" to be doing things. Now we just need to figure out a way to present monads so that people can understand what they are without reading 9 blog posts...
1
Oh, you mean, this is a thing in rust and not "I like monads" ad a generic statement? What is the practical difference better this new monadic style, and conditions?
2
It's "monadic" in the sense that `Result` is a monad (despite Rust not having such an abstraction explicitly - see Haskell's `Either`), and `?` is a bit like `bind` / `do` notation but for imperative code. Sadly I don't remember enough about conditions to talk about them.
1
1