Hacker News new | ask | show | jobs
by rowls66 856 days ago
Is it really that much different? You still need to handle a Left value, and a lot like handling an exception.
1 comments

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.
This was in Java with checked exceptions.