4 ms·
I'm working on a big python project, working with 30+ developers on it. We've added type hints in most places. And it makes it a lot easier reading other peopl
by TeeWEE 7y ago
I'm working on a big python project, working with 30+ developers on it.
We've added type hints in most places. And it makes it a lot easier reading other people code and seeying their intentions.
Code is read a lot more often than that its written. And just being more explicit in what it does makes it better.
Also type hints allow for certain static verification, making the code quality better.
The big thing i miss is: Python is not a pure typed language.
Programming in Kotlin or Golang feels so much more "engineering". I feel a lot saver. When it compiles i'm 100% sure which types are coming into my methods...
With python it can always break in production.
Choosing a type save language is the way togo now. Languages like python and kotlin are just as expressive as python, but they are just engineered a lot better imho.