Hacker News new | past | comments | ask | show | jobs | submit
It was poorly bolted on in Python. Well I dislike types to begin with, but aside from that, Typescript somehow did it better.
> Typescript somehow did it better

I don’t think JavaScript’s syntax was ever designed with the idea that TypeScript would one day exist. Yet somehow it feels like it left the perfect open spaces for TS to later occupy.

They did get lucky with that. The Python type syntax ended up being similar, but the implementation of type-checking is confusing, also it was annoying how you needed to import the types of basic collections for a while.