18 ms·
What better alternatives do you know? I don't know any programming language for real world projects that would make error handling trivial.
by kbart 10y ago
What better alternatives do you know? I don't know any programming language for real world projects that would make error handling trivial.
- wyager 10y agoTrivial? 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.