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/022171.html below:

[Python-Dev] Re: PEP 279

[Python-Dev] Re: PEP 279 [Python-Dev] Re: PEP 279Raymond Hettinger python@rcn.com
Wed, 3 Apr 2002 10:34:51 -0500
----- Original Message -----
From: "Guido van Rossum" <guido@python.org>
> 0. itemize
> 1. enumerate

After the conversation on names, are you ready to choose between
enumerate(), enum(), and itemize()?

enumerate -- I like this one best because it does what it says.  Liked by
most of the py-dev respondants.

enum --  I like this one too.  A tiny bit of clarity traded for pithiness
(like dict vs dictionary).  Must rhyme with 'doom', not with 'dumb' <grin>.

itemize -- Could be confusing since amap.items() != list(itemize(amap)).
Unfortunate association with income taxes :(


Raymond Hettinger, CPA


















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