Us old geezers have a tendency to repeat ourselves... If you remind me often enough, perhaps I'll stop. But it _is_ seductive!
On 2011-02-01, at 14:14, Brendan Eich wrote: > Deja vu all over again: > > https://mail.mozilla.org/pipermail/es-discuss/2007-March/004076.html > > /be > > > On Feb 1, 2011, at 11:09 AM, P T Withington wrote: > >> [Interested bystander 2p.] >> >> The thing you are looking for is common in other advanced dynamic languages >> (mostly Lisp derivatives, see >> http://en.wikipedia.org/wiki/Exception_handling#Condition_systems). It is >> the concept of handling the condition in the context where the condition is >> signaled, rather than magically unwinding the stack looking for catch blocks >> to throw to. DOM2 has a similar distinction, whether to handle an event in >> the 'capturing' phase or the 'bubbling' phase. >> >> try/catch can be implemented in terms of condition handling, but not the >> other way around. I would be all in favor of adding condition handling to >> JS, and recasting try/catch as syntactic sugar. >> >> _______________________________________________ >> es-discuss mailing list >> [email protected] >> https://mail.mozilla.org/listinfo/es-discuss > > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

