5 reasons to love Python type hints

from blog Roman Imankulov, | ↗ original
I’m a big fan of type hints, and I honestly don’t understand why some people find it ugly or unpythonic. They improve the auto-complete and code navigation in the IDE. They protect you against trivial errors and remind you about corner cases. Beyond IDEs, more and more tools in the Python ecosystem take advantage of typing information. The...