News for hackers. Stuff that matters.
Re:Deno 1.6 supports compiling TypeScript to a single execut... by Cthulhu_ on Thursday December 10, 2020 @04:07AM (#25371502)
It's a circular argument and a false dichotomy tbh, they both have their place.

Ex: I maintain an 'old' PHP / JS application while building a new Go / TS one. With the old one, I change a file, it gets automatically ssh'd to my dev server, and my changes work instantly. I'm sure that if the PHP and JS had to be comp/transpiled, it would take a minute or so (it's just under 100K LOC, some files 13K LOC).

For the new application, I get the same fast feedback because Go does incremental compiles and create-react-app with TS also does incremental compiles with live reload (without requiring a full page reload).

For production builds, the old is pulled through tools like ioncube and uglify, the new one churns out an optimized binary and webpack-flavored .js files.

I mean if you zoom out enough there's no noticeable difference.

There are no comments on this comment yet.