logoalt Hacker News

SwiftyBugtoday at 12:33 PM2 repliesview on HN

To what extent do you see Python drifting toward stronger typing? I ask because after 10 years without touching a single line of Python, I recently worked on a Python code base and I was very positively surprised by the static typing that's available in the language now. Not even necessary to to reach for additional tooling like JS and TS.


Replies

kortextoday at 1:11 PM

Drifting? I think it's there. basedpyright is awesome and super fast. Our latest services are all CI gated by type checking. Early in my career you'd hit so many dumb errors running your code - NoneType, attribute, value, and type errors. I'd say that's been cut over 95%.

kccqzytoday at 12:36 PM

How are you getting static typing without additional tooling?

show 1 reply