News for hackers. Stuff that matters.
Re:Reasons to avoid static type checking by sgorawski on Monday January 29, 2024 @10:31AM (#39177376)
Also, in Python (unlike TypeScript or PHP) you need to be sure that the code regularly passes type checking to have confidence in your type annotations.

I've dealt with my share of code with types that were almost correct but not really and it's been quite frustrating.

For interested I've written an article about it: https://medium.com/@sgorawski/python-types-have-an-expectati...

There are no comments on this comment yet.