1. 19
  1.  

    1. 2

      The from_err trait seems like really interesting idea to maintain strongly typed errors with a strong chain of origin without having to introduce the complexity of multiple checked exceptions. Does anyone know the likelihood of this approach (or the others in the article) of being adopted?

      1. 0

        I cannot resist guys: “Can I haz errorz monadz?” :)

        1. 0

          I seriously do not understand the downvote here, since this is neither trolling nor off-topic. I think that the “off-topic” and “troll” downvotes are simply from people ignoring computer science theory of the last 2 decades (to say the least). And you can do things like this in Rust by the way. So this is just seriously rude for the sake of being so. If you do not understand error and exception handling using monads it is your problem.

          1. 2

            I didn’t downvote you but I can’t say I’m a fan of the way you contributed. Seriously, let’s try to keep this meme shit off lobsters. (Also, it should be “I can has”).

            I highly doubt anyone down voted you because they don’t understand error monads, which is obviously a relevant an interesting thing to bring up on this article.

            1. 3

              I still find it uncalled for because I do not perceive it as trolling nor is there a netiquette on lobste.rs regarding what can one use humorously or not, given that no abusive language is used nor demeaning content is implied. Even my explanation gets a downvote. The “z” was deliberate.

              Regardless, I’ll move on with simply not saying much anymore. This was supposed to not be Reddit but I guess disillusionment is important.