[Python-ideas] Structural type checking for PEP 484
Sven R. Kunze
srkunze at mail.de
Thu Sep 10 00:02:43 CEST 2015
Not specifically about this proposal but about the effort put into
Python typehinting in general currently:
What are the supposed benefits?
I somewhere read that right now tools are able to infer 60% of the
types. That seems pretty good to me and a lot of effort on your side to
make some additional 20?/30? %. Don't get me wrong, I like the
theoretical and abstract discussions around this topic but I feel this
type of feature way out of the practical realm.
I don't see the effort for adding type hints AND the effort for further
parsing (by human eyes) justified by partially better IDE support and 1
single additional test within test suites of about 10,000s of tests.
Especially, when considering that correct types don't prove
functionality in any case. But tested functionality in some way proves
Just my two cents since I felt I had to say this and maybe I am missing
On 09.09.2015 22:17, Guido van Rossum wrote:
> Jukka wrote up a proposal for structural subtyping. It's pretty good.
> Please discuss.
> --Guido van Rossum (python.org/~guido <http://python.org/%7Eguido>)
> Python-ideas mailing list
> Python-ideas at python.org
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas