News for hackers. Stuff that matters.
Re:State of JavaScript 2019 by allover on Thursday December 19, 2019 @05:31AM (#21833627)
TypeScript is kind of in its heyday though, it's fairly unlikely many teams would be comfortable making a bold decision to "switch back to JS", even if they want to.

Would need to be given more time for such a statistic to be meaningful, if it ever would be.

Re:State of JavaScript 2019 by TomMarius on Thursday December 19, 2019 @05:49AM (#21833732)
Not a single developer I know (I was in leadership position in a company with 300+ devs, now I lead a small startup dev team) cares about "heyday". They care about their experience during development being significantly worse with plain JS due to stupid ("we'll use TS because it checks names of properties") but also not so stupid ("we'll use TS because it checks that switches are exhaustive", "we'll use TS because it allows you to check nominal types") mistakes and bugs that TS helps to prevent. For all the devs I know, hearing that they have to code plain JS is the point when they head for exit.
Re:State of JavaScript 2019 by allover on Thursday December 19, 2019 @03:20PM (#21838816)
I never said people would "choose" TS because it's in its heyday, I said it'd be an unlikely time for most to wish to justify a switch back.
Re:State of JavaScript 2019 by leshow on Thursday December 19, 2019 @10:16AM (#21835539)
Most of the types you write in TS will be structural
Re:State of JavaScript 2019 by TomMarius on Thursday December 19, 2019 @11:06AM (#21836103)
Indeed, but the few ones that are nominal are making the difference.