[Python-Dev] defaultdict and on_missing() (original) (raw)
Aahz aahz at pythoncraft.com
Thu Mar 2 16:26:03 CET 2006
- Previous message: [Python-Dev] defaultdict and on_missing()
- Next message: [Python-Dev] defaultdict and on_missing()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] defaultdict and on_missing()
- Next message: [Python-Dev] defaultdict and on_missing()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]