Reading this thread, it feels that cleaning the language raises more
problems than it solves. It is not even clear how versions should be
flagged.

TC39 has worked very hard to keep the language backward compatible and
avoid "breaking the web". So only a very strong motive would justify
removal of features. Security is one and that explains why arguments.callee
is going away, but I don't see others. Even performance isn't a strong
enough motive: libraries that don't perform because of inefficient language
features  (with, eval) will just die or be replaced. No need to be
proactive here, just let the Darwinian process take its course.

Language cleanup is the business of linters. They let you enforce modern
features within your teams/projects, without impacting others nor existing
libraries.

Derived languages and transpilers (TypeScript) are the perfect place to
experiment with new features. This is much better than taking chances with
JavaScript itself.

If it ain't broke, don't fix it.

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

Reply via email to