[Python-Dev] defaultdict and on_missing() (original) (raw)

Aahz aahz at pythoncraft.com
Thu Mar 2 16:26:03 CET 2006


On Wed, Mar 01, 2006, Guido van Rossum wrote:

Operations with two or more arguments are often better expressed as function calls -- for example, map() and filter() don't make much sense as methods on callables or sequences.

OTOH, my personal style is to always use re.compile() because I can never remember the order of arguments for re.match()/re.search().

Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/

"19. A language that doesn't affect the way you think about programming, is not worth knowing." --Alan Perlis



More information about the Python-Dev mailing list