A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2015-April/139233.html below:

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

[Python-Dev] Type hints -- a mediocre programmer's reaction [Python-Dev] Type hints -- a mediocre programmer's reactionRobert Collins robertc at robertcollins.net
Mon Apr 20 22:17:07 CEST 2015
On 21 April 2015 at 08:10, Eric Snow <ericsnowcurrently at gmail.com> wrote:
>
>
>
> 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

Forgive my ignorance, but can stub files can't annotate variables
within functions? E.g. AIUI if there is a stub file, it is used in the
static analysis instead of the actual source. Likely I've got it
modelled wrong in my head :)

-Rob

-- 
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Converged Cloud
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4