In article [EMAIL PROTECTED],
Jeff Schwab [EMAIL PROTECTED] wrote:
Also, despite reassurances to the contrary, I still get the impression
that there is a strong anti-lambda sentiment among the Python in
crowd. Is it just a question of the word lambda, as opposed to
perceived cleaner syntax?
On Mar 23, 12:24 pm, [EMAIL PROTECTED] (Aahz) wrote:
The problem with lambda is that too often it results in clutter (this is
a strictly made-up example off the top of my head for illustrative
purposes rather than any real code, but I've seen plenty of code similar
at various times):
On Sun, 23 Mar 2008 09:24:35 -0700, Aahz wrote:
The problem with lambda is that too often it results in clutter (this is
a strictly made-up example off the top of my head for illustrative
purposes rather than any real code, but I've seen plenty of code similar
at various times):
Also, despite reassurances to the contrary, I still get the impression
that there is a strong anti-lambda sentiment among the Python in
crowd. Is it just a question of the word lambda, as opposed to
perceived cleaner syntax?
There is a fundamental disharmony in how functions and other
On Mar 23, 4:24 pm, [EMAIL PROTECTED] (Aahz) wrote:
In article [EMAIL PROTECTED],
Jeff Schwab [EMAIL PROTECTED] wrote:
Also, despite reassurances to the contrary, I still get the impression
that there is a strong anti-lambda sentiment among the Python in
crowd. Is it just a question of
On Sun, 23 Mar 2008 13:51:34 -0400, Roy Smith wrote:
On the other hand, when I do:
def torture():
woman.putInChair()
cushion.poke()
rack.turn()
I've also done two things. First, I've created a function object (i.e.
a lambda body), and I've also bound the name torture to
Steven D'Aprano [EMAIL PROTECTED] wrote:
On Sun, 23 Mar 2008 13:51:34 -0400, Roy Smith wrote:
On the other hand, when I do:
def torture():
woman.putInChair()
cushion.poke()
rack.turn()
I've also done two things. First, I've created a function object (i.e.
a
On Sun, 23 Mar 2008 22:36:35 -0400, Roy Smith wrote:
I've also done two things. First, I've created a function object
(i.e. a lambda body), and I've also bound the name torture to that
function object, in much the same way I did with the list. But, it's
different. The function object