Re:Ditching TypeScript for JavaScript
by jrajav on Saturday May 06, 2023 @08:03PM
(#35846548)
Typescript is one of the most popular languages in the world at this point and continuing to grow (see Stack Overflow developer survey for the last 3 years). It covers the majority of the mature ecosystem on npm by now. Characterizing it as a trend is beyond incorrect. For all intents and purposes, JS is now statically typed.
[ Parent
| on HN ]
Re:Ditching TypeScript for JavaScript
by capableweb on Saturday May 06, 2023 @08:09PM
(#35846582)
TypeScript would have to become more popular than JavaScript for your last part to become true. And it's nowhere near of getting there (outside of SV/hip development world).
https://trends.google.com/trends/explore?q=%2Fm%2F0n50hxv,%2... (last 12 months worldwide)
Last datapoint: TypeScript - 10, JavaScript - 82
I don't think that's a fair metric. Many people using TS (myself included) will typically use "JavaScript" in search queries because the answer is usually the same. The only time I search for "typescript" is if I have a problem with the type checking, which isn't very often.
That said, I think you're right that JS is still quite popular.