Pensieri di un lunatico minore

24 August 2007 Erlang

Error handling, or not

One of the things about Erlang that is most interesting is the rather unique perspective on how to handle errors: you don’t. You die. You crash, and you let someone else pick up the pieces. In the case of Erlang, there’s a well formed framework for Supervisors, which are responsible for the maintenance of the system. Not planning for bad input (or return values/messages) is an interesting approach, but one that permeats the Erlang system.

Come to think of it, in some ways it reminds me of Common Lisp’s conditions and restarts. Different infrastructure, somewhat similar idea. Let someone else deal with it.

This entry was posted at 9:58 pm on 24 August 2007 and is filed under Erlang. You can follow any responses to this entry through the post-specific RSS 2.0 feed.

No comments found.

You can leave a response, or trackback from your own site.