Andy Earnshaw wrote:
On Tue, Jul 23, 2013 at 7:52 PM, Brendan Eich <[email protected]
<mailto:[email protected]>> wrote:
We almost certainly are not going to fork the language with a
pragma, but if we do it will be new syntax, to choke old browsers.
Otherwise the testing burden doubles (again; this happened with
"use strict"; in ES5 due to its runtime semantic changes).
Yeah, I suppose it's not such a good idea forking the language at all.
The slow-mo, evolutionary web way: extend to provide coexisting new and
old features, and deprecate the old. They fade away, leaving vestigial
organs that might fade over time (or might be misunderstood and still be
used somehow).
This ups the ante for linters, nearly-same-semantics compile-to-JS
languages, and evolving JS as a compiler target to keep other languages
nearly-same-semantics.
/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss