top | item 47209542

(no title)

Boxxed | 6 hours ago

My favorite part about the type annotations in python is that it steers you into a sane subset of the language. I feel like it's kind of telling that python is this super dynamic language but the type annotations aren't powerful enough to denote all that craziness.

discuss

order

yunnpp|56 minutes ago

The type hints are not even enforced at runtime. They are mostly documentation.

reubenmorais|3 hours ago

That's nice if you're starting from scratch, but if you have existing code to deal with, you don't have the privilege of ignoring the insane subset.