Let's Talk About Lambda Functions!

Carl Banks imbosol at vt.edu
Sat Jul 27 16:02:20 EDT 2002


Fredrik Lundh wrote:
> Carl Banks wrote:
> 
>> So now you're advocating building a framework of closures to replace
>> the lambdas?  This is what appears odd to me: you want me to inline
>> sorts in the interest of not overgeneralizing, but it seems the same
>> can be said by your use of make_items_accessor above.
> 
> don't feed the troll.

I'm sorry, I didn't realize Martelli was trolling.  I'll try not to
feed him.  :)

Seriously, no offense was intended.  When he suggested using a wrapper
function like make_items_accessor, after advising against a wrapper
for sorts because of overgeneralization concerns, it rightly seemed
odd to me (especially since I tend to do the opposite), and I wanted
to point that out.  That point is, overgeneralization concern itself
is not good enough reason to avoid wrapping a function or building a
framework, without more information about the circumstances.

I'm sorry if it seemed like I was trolling.


-- 
CARL BANKS
http://www.aerojockey.com



More information about the Python-list mailing list