----- 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