Hacker News new | ask | show | jobs
by tlarkworthy 2484 days ago
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.
1 comments

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.