News for hackers. Stuff that matters.
Re:You’re better off using Exceptions by joshuamorton on Monday February 03, 2020 @02:03PM (#22227666)
Result types are exceptions with different performance characteristics.

Like, handling a checked exception (Java) and a Google-cpp StatusOr<T> or a rust Result<T> provide extraordinary similar code. Unchecked exceptions provide a bit of extra dynamism, and languages without either are anti-user.

Re:You’re better off using Exceptions by UK-Al05 on Monday February 03, 2020 @02:32PM (#22228013)
I find result and option types compose nicer using monadic style composition.