Securing a future for anonymous functions in Python

Batista, Facundo FBatista at uniFON.com.ar
Thu Dec 30 09:22:59 EST 2004


[Nick Coghlan]

#- I just don't understand why people complain so much about 
#- the restriction to a 
#- single expression in lambdas, yet there is nary a peep about 
#- the same 
#- restriction for generator expressions and list comprehensions.

What *I* don't understand (and it could perfectly be plain ignorance, as
never studied languages or computer sciences) is why anonymous functions are
so important.

While I'm one of those who spend 30% of the time writing the function and
70% choosing a name for it, I never really use lambdas (except for minor
cases in Tkinter buttons).

hoping-to-learn-something-new-in-the-next-mail--ly yours,

.    Facundo

Bitácora De Vuelo: http://www.taniquetil.com.ar/plog
PyAr - Python Argentina: http://pyar.decode.com.ar/


  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
ADVERTENCIA.

La información contenida en este mensaje y cualquier archivo anexo al mismo,
son para uso exclusivo del destinatario y pueden contener información
confidencial o propietaria, cuya divulgación es sancionada por la ley.
Si Ud. No es uno de los destinatarios consignados o la persona responsable
de hacer llegar este mensaje a los destinatarios consignados, no está
autorizado a divulgar, copiar, distribuir o retener información (o parte de
ella) contenida en este mensaje. Por favor notifíquenos respondiendo al
remitente, borre el mensaje original y borre las copias (impresas o grabadas
en cualquier medio magnético) que pueda haber realizado del mismo.
Todas las opiniones contenidas en este mail son propias del autor del
mensaje y no necesariamente coinciden con las de Telefónica Comunicaciones
Personales S.A. o alguna empresa asociada.
Los mensajes electrónicos pueden ser alterados, motivo por el cual
Telefónica Comunicaciones Personales S.A. no aceptará ninguna obligación
cualquiera sea el resultante de este mensaje.
Muchas Gracias.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20041230/f40c839a/attachment.html>


More information about the Python-list mailing list