Dynamic binding is bad, mmmkay? ;)

Seriously, it's not an efficiency thing. Dynamic scope is easy to write but 
hard to predict. JS is lexically/statically scoped almost everywhere, except 
for with, eval, and the global object. Strict mode solves with and eval. 
Harmony solves the global object.

> You said (in the next letter) that it will be a local (like the let- ones) 
> binding. Seems, it will "break" previous semantics.

No, it doesn't. The previous semantics doesn't include local functions. That's 
a non-standard extension.

> Yes, yes, but which decreases elegance of definitions but increases 
> "intermediate noise" (though, maybe not so noise?).

I dare you to call dynamic bindings elegant to *any* of my friends. ;)

Dave

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to