Re:Comparing Erlang and Node.js
by silentbicycle on Friday May 06, 2011 @01:46PM
(#2521764)
Would you mind fleshing out the "and less potential for error in node.js itself" part of your comment? I don't really understand what you mean.
I get the impression that error handling in node is handled the same way as managing control flow - you're directly managing the continuation of every potentially blocking / failing event.
Erlang's "let it crash" / distributed hierarchy of supervisors error-handling style is IMHO one of its most interesting characteristics; I can't see how it could be grafted on node.
I get the impression that error handling in node is handled the same way as managing control flow - you're directly managing the continuation of every potentially blocking / failing event.
Erlang's "let it crash" / distributed hierarchy of supervisors error-handling style is IMHO one of its most interesting characteristics; I can't see how it could be grafted on node.