3 ms·
> You're comparing Elixir & Ruby with Babel, not vanilla JavaScript. You are putting your code on non-standard JavaScript, that's on you. Babel is the only way
by dragonwriter 6y ago
> You're comparing Elixir & Ruby with Babel, not vanilla JavaScript. You are putting your code on non-standard JavaScript, that's on you.
Babel is the only way to use modern standard JS without excluding older browsers.
- austincheney 6y agoI completely disagree. The TypeScript compiler allows you to specify a compile target against a version of JavaScript. That means you can write modern TypeScript and have it compile to ES3.
- dragonwriter 6y agoWell, yeah, but then you’re using modern TypeScript, not modern JavaScript.
- Oddskar 6y agoModern Javascript is a subset of TypeScript though.