News for hackers. Stuff that matters.
Re:Monads in JavaScript by _davidchambers on Tuesday July 21, 2015 @12:54PM (#9923698)
It's a contrived example, certainly.

Your counterexample is informative. I hadn't thought of exceptions in this way. The downside of putting everything in a `try` block, of course, is that we'll potentially catch exceptions arising from a bug in our code which should crash our program.

There are no comments on this comment yet.