Block Lambdas: break and continue

Brendan Eich brendan at mozilla.org
Sat Jan 14 13:31:48 PST 2012


> Brendan Eich <mailto:brendan at mozilla.org>
> January 14, 2012 1:24 PM
> Exception handling is seldom used in the large except to void the 
> exception.

And then only near or at a top-level event loop.

Exception handling is the issue here, because of the proposal to add 
reifed break and continue as thrown exceptions. How exception handling 
is practiced (usually not) is highly relevant.

Wishing for JS users to happily add more exception handling won't make 
that work happen, because it costs a lot. That it costs a lot (too much 
in my view) is enough to consider not adding new exceptions that must be 
considered when designing all "looping" and "wrapping" (AOP) APis.

/be
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120114/c86044f5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postbox-contact.jpg
Type: image/jpeg
Size: 1290 bytes
Desc: not available
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120114/c86044f5/attachment.jpg>


More information about the es-discuss mailing list