Conversation

python was the first language I learned and most of what I code and I never understood this deep fear of type errors, it's pretty rarely an issue in practice
8
4
104
I find that most problems are type errors. I like static types because I can be lazy and code by numbers.
3
66
Yes. I like to make tons of very narrow purpose-specific types to prevent as many errors as possible.
4
30
Show replies
The usefulness of types becomes very noticeable in large projects where you have a lot of engineers working on a codebase. With types, you can just write code without having to figure out what different functions you didn't write expect as arguments or what they return.
1