2 comments

[ 592 ms ] story [ 40.0 ms ] thread
The author seems to conflate static typing with class-based typing for much of this. Languages like Haskell and TypeScript (and I thought Scala?) are statically typed, but have a concept of structural types that don't require you to use classes at all. In fact this static duck-typing is, I'm pretty sure, one of Haskell's most-advertised features.