3 ms·
Type hints are super handy when using smart IDEs like PyCharm, which will list or highlight (most of) your type errors. This alone can greatly improve confidenc
by mfgs 6y ago
Type hints are super handy when using smart IDEs like PyCharm, which will list or highlight (most of) your type errors. This alone can greatly improve confidence in your program, especially for more complex cases.
Getting that cheaply while still having types unchecked is a nice compromise between improved functionality and not changing the language majorly.