logoalt Hacker News

david422today at 5:42 PM1 replyview on HN

> Static typing in Python is the biggest hypocrisy ever

Yes, agreed. I used to work on a large python codebase and tried to add type hints where I could. The issue is that python was not the right tool for the job - except that switching to the right tool was a non-starter. So type hints were the best I could do.


Replies

preroktoday at 6:18 PM

It is indeed a significant undertaking. But... it is doable. I've worked on a code base that converted several functionalities to golang. It did take a lot of effort and quite a lot of planning.