Ad
  • Default User Avatar

    I think the main reason that I love Rust so much is that it's actually logical and functional in ways that were either very gated or very difficult to achieve beforehand. It comes with a lot of different methods and options for extreme method chaining, like above, but it's still understandable. For example, that Either crate? Yeah, with no additional help, I wrote my own implementation of it where it had three different possible branches, and it's just as concise as the original. Most other languages would have you start from scratch or adhere to some syntactic requirements, but Rust actually guides you to the results.

  • Default User Avatar

    Completely forgot to check for methods. Welp, at least this shows how to do it by hand? :D