Re:Design Doc: Use JavaScript instead of TypeScript for inte...
by cutler on Tuesday June 09, 2020 @02:12AM
(#23464166)
Why? ES6 has been widely supported for quite some time now.
Re:Design Doc: Use JavaScript instead of TypeScript for inte...
by dragonwriter on Tuesday June 09, 2020 @02:51AM
(#23464347)
> ES6 has been widely supported for quite some time now.
ES6/2015, sure; ES2021, though...
For the latest useful JS features, you need a compiler, whether it's TypeScript or Babel or...
Re:Design Doc: Use JavaScript instead of TypeScript for inte...
by jamesgeck0 on Tuesday June 09, 2020 @02:54AM
(#23464362)
If you target browsers that are installed by default on operating systems that are still receiving security updates, you have to support Windows 8.1 and thus IE 11 for another two and a half years, alas.
Also I don't think the transpiler argument holds in today's JS ecosystem. Everything is transpiled. Unless you are developing in barebone ES5 syntax and avoid babel as a whole, then some level of transpliation is inevitable. Yet, I didn't find debugging that much difficult with correct setup.