top | item 39414266

(no title)

rowls66 | 2 years ago

Is it really that much different? You still need to handle a Left value, and a lot like handling an exception.

discuss

order

ivanjermakov|2 years ago

It is different because this way all possible results and failures are known as type information. How to handle erroneous state is the responsibility of the result consumer, given the availability of rich API to unwrap, bind or transform error variants.

lostmsu|2 years ago

This was in Java with checked exceptions.