3 ms·
Nonsense. Transpilers have been misused at times in the javascript community, but overall they have played a *massive* role in modernizing javascript and enabli
by switz 5y ago
Nonsense. Transpilers have been misused at times in the javascript community, but overall they have played a *massive* role in modernizing javascript and enabling us to write much sounder, more robust, and bug-free code that runs everywhere, including on older devices and runtimes. Society as a whole has benefited immensely from babel and other transpilers.
As time goes on, transpilers may ultimately become slightly less valuable, however for the past decade they have allowed us to grow and improve our javascript without sacrificing portability.
- baybal2 5y agoBaseline ES6 been supported for many years now. There are very few things a transpiler will do for you today. Some critical langauge features are completely impossible to substitite, or emulate. Given this, what's the point? The few non-critical features can be more reliably polyfilled manually than relying on transpiler which will mangle the rest of your code which has nothing to do with that function, and with 50/50 chance to introduce own problems.
- ilkkao 5y agoI was able to remove babel few weeks ago in one of my projects when webpack started to support class properties natively. The project in question only supports evergreen browsers. So nice to have super simple build config. I have nothing against babel. I think it's great especially in maturing TC39 drafts.