Hacker News new | ask | show | jobs
by kbart 3521 days ago
What better alternatives do you know? I don't know any programming language for real world projects that would make error handling trivial.
1 comments

Trivial? No. But you can at least make it better than the horrible nightmare described in the OP. Monadic error handling in a strongly typed language gives you a huge leg up on safely and sanely managing the complexity of error handling, because it provides simple value-level error semantics and clear type-level indications of exactly what kinds of errors you have to deal with and how you have to deal with them.