Re:Adding JavaScript modules to the web platform
by esailija on Thursday April 14, 2016 @01:58AM
(#11494583)
You basically cannot ever remove anything as it will break websites which will just make people switch to another browser where the websites work.
Re:Adding JavaScript modules to the web platform
by GroSacASacs on Thursday April 14, 2016 @06:54PM
(#11500910)
By remove, I meant "encourage to not do that".
Like JSLint or "use strict"; didn't remove JavaScript possibilities, it encouraged us to not write insane JavaScript.
They should consider making a document that lists all possibilities to organize code in modules and explain why some are betters than others, then in the same document explain the benefit for new syntax.
Do we really want to add more ways ? Complexity is an enemy of security, it will add more confusion. Maybe we should first disable/remove ways to load and execute JavaScript.
We should also think, if what really need is a client solution or a better tool/system to transform scripts, in a script server side.
Why, what should be clearly answered before thinking in terms of how.
Sometimes having the bigger picture in your head helps.