News for hackers. Stuff that matters.
Re:How to avoid the assignment statement by philwelch on Monday July 12, 2010 @04:44AM (#1507231)
Imperative exception handlers, like in C++, are a lot like glorified longjumps. When learning Erlang I was pleased that a more functional language can handle exceptions much more neatly--if a given expression causes an exception, the value of that expression is the exception, and that recurses in a certain way. It's conceptually less like exception handling in an imperative language and much more like an automatically mediated means of returning error codes.

There are no comments on this comment yet.