2 ms·
> Python now has a complex type system - that many developers never use. Python doesn't have a complex type system. How could it when, to this day, it doesn't
by masklinn 6y ago
> Python now has a complex type system - that many developers never use.
Python doesn't have a complex type system. How could it when, to this day, it doesn't bundle a type-checker?
Python had a way to annotate functions (PEP 3107), which the community largely used for type-hinting, so Python introduced better support for type hints (PEP 484 and various extensions since).
- pansa2 6y agoOK, I'll rephrase that as "Python now has a complex typing ecosystem". That seems to be the preferred phrase - for example, it's used in PEP 586 [0]. [0] https://www.python.org/dev/peps/pep-0586/ https://www.python.org/dev/peps/pep-0586/