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.
by a1371 5y ago
You're comparing Elixir & Ruby with Babel, not vanilla JavaScript. You are putting your code on non-standard JavaScript, that's on you.
- dragonwriter 5y 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 5y 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 5y agoWell, yeah, but then you’re using modern TypeScript, not modern JavaScript.
- Oddskar 5y agoModern Javascript is a subset of TypeScript though.