3 Jan
2003
3 Jan
'03
1:23 a.m.
I think this is the major point. One of Python's strengths is that declarations are seldom needed, almost all objects can be created in-place. Not so with defs: They enforce a declaration before use, while lambda denotes a functional value.
You think of a def as a declaration. I don't: to me, it's just an assignment, no more obtrusive than using a variable to hold a subexpression that's too long to comfortably fit on a line. --Guido van Rossum (home page: http://www.python.org/~guido/)