Why is applying and validating type hints to #Python code so rewarding?

@tk I guess I get it -- helps when dealing with other ppls code. I somewhat resent type annotations in Python because I like the dynamic typing compared with the shortcomings of Java's type system (esp. with generics and collections :P).

@2ck I feel like type hints combined with static analysis helps catch some mistakes before they turn into worse bugs.
Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.