4 ms·
"There's a number of programmers who really seem to dislike exceptions: Joel Spolsky and Rob Pike among them." Additionally, the Google C++ style guide forbids
by enneff 16y ago
"There's a number of programmers who really seem to dislike exceptions: Joel Spolsky and Rob Pike among them."
Additionally, the Google C++ style guide forbids the use of exceptions.
- eru 16y agoAlso Haskell seems to discourage exceptions. They are possible to raise everywhere and catchable in the IO Monad --- but they do not play along nicely. It's often better to wrap up your error handling in a Maybe or Either or Error Monad. (In level of increasing sophistication.)