2 ms·
> No, you don’t get it. Babel is for transpiling newer versions of JS to older ones For all intents and purposes, JavaScript with all the extra features it has
by yakshaving_jgt 4y ago
> No, you don’t get it. Babel is for transpiling newer versions of JS to older ones
For all intents and purposes, JavaScript with all the extra features it has accreted over the years is a different language from the JavaScript of a decade ago, and a compilation step is necessary in order for web browsers to parse it.
If you're running a compilation step anyway, you may as well write the code in a language that isn't such a dumpster fire.
> JS is a fantastic fp language
Actually, it's pretty terrible at that.