3 ms·
My biggest problem with this proposal is that it will force a full-blown code-style on you. Yes, just like "use strict" did, and thank goodness! The fact of th
by acjohnson55 12y ago
My biggest problem with this proposal is that it will force a full-blown code-style on you.
Yes, just like "use strict" did, and thank goodness! The fact of the matter is that Javascript wasn't a carefully designed language from top to bottom and we're still working to fix some of its pitfalls. It's not that some of the ill-posed features don't have valid uses; they do. But we know a lot about the best practices, and with ES6, there are objectively safer alternatives to old patterns.
This isn't just for today's experienced JS dev. Javascript is here to stay, and there's no reason the person learning it today should have to know all the language quirks I had to work around. "use strong" will lead to more performant and more resilient JS coding practices, period. Let's stop fetishizing the missteps of the original language.