Hacker News new | ask | show | jobs
by MaxBarraclough 1652 days ago
> Duck typing or traits are better ways to represent polymorphic behaviors. We've known this for over a decade now.

The trend is in the opposite direction.

TypeScript enables JavaScript programmers to benefit from static typing, and is seeing widespread use. Python now has type-hints.