Comment

Comment by sgorawski

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...

parent sgorawski 2 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton