by vardump · 10y ago · 0 comments
Much easier to understand what is going on, no need to find out if something in the call graph of the method I call throws or not. Also error handling code is where the error occurs, not some completely different place.
Properly handled exceptions aren't any less code anyways. Unless you can just drop everything on the floor.
Still, a far cry from
data Result a b = Err a | Ok b