[Python-Dev] Type hints -- a mediocre programmer's reaction

Eric Snow ericsnowcurrently at gmail.com
Mon Apr 20 22:10:34 CEST 2015


On Mon, Apr 20, 2015 at 1:35 PM, Łukasz Langa <lukasz at langa.pl> wrote:

> Yeah, so agreed, this is pretty busy. For such cases, reformatting makes
> it less confusing (see: Screenshot 1).
>
>
>
While it helps, this sort of best-practice is still unsettled (and
apparently not obvious).  In the short term it would make more sense to
recommend using stub files for all the reason Harry enumerated.  Once the
best practices are nailed down through experience with stub files, then we
can make recommendations regarding inline type hints.

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150420/21e98be8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot 1.png
Type: image/png
Size: 2024 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150420/21e98be8/attachment.png>


More information about the Python-Dev mailing list