[Python-Dev] Type hints -- a mediocre programmer's reaction (original) (raw)

Daniel Holth dholth at gmail.com
Thu Apr 23 15:15:44 CEST 2015


On Thu, Apr 23, 2015 at 5:59 AM, Paul Sokolovsky <pmiscml at gmail.com> wrote:

Hello,

On Thu, 23 Apr 2015 10:43:52 +0200 Wolfgang Langner <tds333+pydev at gmail.com> wrote: []

Also ask why no one used type specifier, they are possible since Python 3.0 ? Because it is the wrong way for Python. That's an example of how perceptions differ. In my list, everyone(*) uses them - MyPy, MicroPython, etc. Even more should use them (any JIT module, which are many), but sit in the bushes, waiting for a kick, like PEP484 provides.

It's OK that type hints are only to assist the programmer. PyPy's FAQ has an explanation of why type hints are not for performance. http://pypy.readthedocs.org/en/latest/faq.html#would-type-annotations-help-pypy-s-performance



More information about the Python-Dev mailing list