News for hackers. Stuff that matters.
Re:TypeScript for Pythonistas by Waterluvian on Friday December 17, 2021 @07:35PM (#29600150)
For those who are both TypeScript and Python + type hints veterans:

Compared to TS, are Python typings as second class, uncomfortable, often overly verbose as I remember them to be? Have things improved?

Re:TypeScript for Pythonistas by 6gvONxR4sf7o on Friday December 17, 2021 @08:11PM (#29600423)
I’m new to TS and have done python forever. Mypy and python type signatures are catching up, but it’s nowhere as good as typescript yet (in my limited honeymoon experience).
Re:TypeScript for Pythonistas by amitport on Friday December 17, 2021 @08:42PM (#29600660)
Thing have improved, but... Compared to TS, Python typings as second class are uncomfortable and often overly verbose (probably as you remember).
Re:TypeScript for Pythonistas by hsbauauvhabzb on Friday December 17, 2021 @08:08PM (#29600386)
Typescript is also fairly enforced by the compiler, mypy acted less restrictively. Has this changed?