Node.js documentation about domains states the following:

"By the very nature of how throw works in JavaScript, there is almost never 
any way to safely "pick up where you left off", without leaking references, 
or creating some other sort of undefined brittle state."

Would someone on the mailing list be able to give some details about this? 
As of the way exception handling works, V8 is not that different from 
Python and Ruby. In Python and Ruby, you can throw an exception anywhere, 
and catch it somewhere else, without "leaking references" or "creating some 
other sort of undefined brittle state", if your code correctly releases 
allocated ressources using finally statements. What makes JavaScript 
different?

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to