News for hackers. Stuff that matters.
Re:Are dynamic languages going to replace static languages? ... by paavohtl on Wednesday August 04, 2021 @11:15AM (#28061972)
TypeScript has nothing to do with C#, apart from its creator. The structural type system with explicit nulls, sum types and very powerful generics makes it feel much closer to the ML family of languages than C#, despite using the C-like JS syntax. The teams I've used it in have never really used it to build complex OOP hierarchies or even used classes for anything other than React components, though there are probably many who do.
Re:Are dynamic languages going to replace static languages? ... by zarzavat on Thursday August 05, 2021 @01:00AM (#28070046)
Both are true. The original TypeScript v1 was a lot more like C#-in-JS and was very class-oriented, however over the years the type system has grown into a mature ML-like structural type system as a side effect of trying to type the wide variety of dynamic JS out there.

Anybody who last looked at TypeScript a few years ago and dismissed it needs to have another look.