3 ms·
Typescript would be nice if it weren't essentially just a bunch of macros for JavaScript. As it is now, as soon as you want to run it, you lose all the benefits
by franga2000 5y ago
Typescript would be nice if it weren't essentially just a bunch of macros for JavaScript. As it is now, as soon as you want to run it, you lose all the benefits of it (including many performance optimizations that could be made in a statically typed runtime) and of course, all the usual footguns of vanilla JS still apply. It's a great development tool though, I'll give you that.
- IshKebab 5y ago> just a bunch of macros for JavaScript It isn't any macros. Not sure what you're talking about. > all the usual footguns of vanilla JS still apply Yeah that does suck but fortunately ESLint and Typescript have options to prevent most of them. If you use Deno they're enabled by default. > including many performance optimizations that could be made in a statically typed runtime Also true, but we're comparing it to PHP and Python.