On Tue, 2 Apr 2002, Ken Manheimer wrote: > On Tue, 2 Apr 2002, Tim Peters wrote: > > > > So now I'd like to choose between enumerate() and indexer(). Any > > > closing arguments? > > > > I'm leaving that quote anonymous so nobody gives it more or less weight than > > it deserves <wink>. I prefer enumerate(), because a transitive verb is more > > appropriate than a noun. OTOH, enumerate() is just a fancy pants way of > > saying "countoff()", which is nicely confusable with operator.countOf if > > you're tired <wink>. > > I know i'm late for this party, but i'd like to introduce 'itemize()'. > > "Everybody, itemize(). Itemize(), everybody. Pleased to meetcha, i'm > sure." > > Nice thing about itemize is it turns values into key/value tuples, much > like .items() on various sequences. Whoops, twice - ".items() on mappings", and i was wrong, besides, as raymond pointed out... -- Ken klm@zope.com
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