Re: Why anonymity? [was Re: map/filter/reduce/lambda opinions and background unscientific mini-survey]
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: Why anonymity? [was Re: map/filter/reduce/lambda opinions and background unscientific mini-survey]

From: Daniel Schüle <uval@rz.uni-karlsruhe.de>
Date: Thu Jul 07 2005 - 21:12:40 CEST

> Am I just weird?

I feel the same way about where to use lambda's and where *not*
I come from C and C++ background and defining a function at the top
level (no nested functions) would always require good reasons

function name has to be remembered, to put it in other words it has to
be added in a mental list of available function
and writing a 2 liner function would only cause call overhead
(if not inlined) this may be the reason why "def" feels to me to have
more weight as "lambda"
usually you define lambda and forget it, no wasted time to find proper
name, which may also pollute the namespace
I find it more clear solution, it's concise
Received on Thu Sep 29 16:49:08 2005