A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-April/022093.html below:

[Python-Dev] Re: PEP 279

[Python-Dev] Re: PEP 279Guido van Rossum guido@python.org
Mon, 01 Apr 2002 21:41:45 -0500
> [RDH]
> > > Executive Summary:
> > > 1.  iterindexed(collection)  -->  accepted
> [GvR]
> > Except I want to think more about the name.
> 
> Okay, here's what we have so far:
> 
> iterindexed()-- five syllables is a mouthfull
> index()      -- nice verb but could be confused the .index() method
> indexed()    -- widely liked however adjectives should be avoided
> count()      -- direct and explicit but often used in other contexts
> itercount()  -- direct, explicit and hated by more than one person
> enumerate()  -- a contender but doesn't mention iteration or indices
> iteritems()  -- already used by dictionaries for key:value pairs

[David Ascher]
> My current fave is 'indexer'.  Something which creates an index.

I like it!  Raymond, what do you think?

--Guido van Rossum (home page: http://www.python.org/~guido/)



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