Hacker News new | ask | show | jobs
by avgcorrection 1199 days ago
> To be fair, now that almost all professionally-written passes through a rewriting compiler,

What?

3 comments

They're likely referring to Babel and TypeScript. In short, it doesn't matter what you're writing as long as your transpiler has the right `target` so it works in older browsers/engines too.
There are popular JavaScript tools that nearly everyone uses, that reimplement Lisp poorly by source-to-source compiling stuff written against the latest new hotness spec into something that can be run by some old-and-busted JavaScript runtime (e.g., in browsers).

In fact this is how TypeScript is implemented.

A pass to strip some type annotations isn't a poor reimplementation of Lisp, jeez.

I know the quote you're referring to but you're stretching a mile to get there.

To add the above - I also meant to write "Professionally-written Javascript" in case it was the grammar that threw you off. Sorry!
Thanks. :) Wasn’t able to fill in the dropped word.