Ten years of Try-Operator in #rust

Wow.

In the very beginning, I found it weird and resisted against that change. I was wrong, of course.
? is love, ? is life!

@musicmatze We are ready for try blocks now 😿
Rust Playground

A browser interface to the Rust compiler to experiment with the language

@weiznich @musicmatze This is forbidden knowledge

 

Why did you curse me with this hahahaha

@Hemera @musicmatze but are the `try` blocks ready for us ?

@musicmatze and of course it's great if the following happens:

result??

the code reads like "what am i even doing here" or "am i really sure that's a good idea" 

@musicmatze maybe one day we'll get proper monads... `?` is a monadic bind, but hardcoded to work with just three of them.