News for hackers. Stuff that matters.
Re:Static TypeScript: A Static Compiler for the TypeScript L... by tlarkworthy on Wednesday September 04, 2019 @07:06AM (#20875946)
Typescript has a unique typesystem that embraces duck typing. This is quite different to how you would type e.g. a scala program. C++ adds a load of additional burden on the programmer (memory) and has a relatively weak typesystem. Clearly Typescript has a niche, has familiarity to subset of programmers, so there are plenty of reasons for this to have its place.
Re:Static TypeScript: A Static Compiler for the TypeScript L... by kjeetgill on Wednesday September 04, 2019 @11:06AM (#20877838)
I'm less familiar with Typescript but this sounds quite close to how go does interfaces! Maybe you could speak to that.

I've been pretty impressed with static duck-typing and miss it when I'm in Java.