2 ms·
Ah, true. I re-read the article. You’d need the horrible polyfill anyway. So, my other point still stands: instead of any long-term planning and robust design,
by dmitriid 8y ago
Ah, true. I re-read the article. You’d need the horrible polyfill anyway.
So, my other point still stands: instead of any long-term planning and robust design, TC39 keeps introducing features that are badly specified are underspecified, and that require patches and workarounds in the language itself (yup, .meta, globalThis and some others are nothing but poorly thought-out patches) and conplex workarounds for the various JS environments that may or may not support these features.
- thrower123 8y agoIf Javascript needs anything, it is a breaking change to go back and clean out all the cruft that has accumulated over two decades of being bent and banged and globbed onto. I don't think that that can actually happen, so we just keep trying to cake more lipstick on the pig; maybe in five years we can put it out to pasture and use WebAssembly instead.
- colejohnson66 8y agoAren’t arrow functions and “use strict” attempts to fix common gotchas?