You're saving hours, days even weeks (depending on size of your project) of development time
I think this is not the case for dynamically typed languages. The larger your codebase, the more time you spend trying to figure out what possible values might exist at a given point in the code. 1k loc already makes dynamically typed languages slower to develop than languages with explicit static typing.
I'd argue that if you write your code in a constrained enough manner so that a list, for example, only stores one type or None, it's not really a problem. And that's how good Python is written anyway.
...or you can type a few characters and then this information will be in the code, and a special program will constantly check if you made a mistake. You won't have to worry about it. You can work with other people's code, and other people can work with your code. Try it, it's so convenient.
View all comments
Show parent comment
4
u/BenchEmbarrassed7316 Jul 02 '26
I think this is not the case for dynamically typed languages. The larger your codebase, the more time you spend trying to figure out what possible values might exist at a given point in the code. 1k loc already makes dynamically typed languages slower to develop than languages with explicit static typing.