which re a|l|t|e|r|n|a|t|i|v|e matched?

Diez B. Roggisch deets_noospaam at web.de
Mon Oct 27 16:11:49 EST 2003


Hi,

> It's not that I "won't".  It's that my algorithmic brain didn't mature in
> a functional programming environment, so I rarely, if ever, think to use
> reduce, filter, et al.  The meaning of code which uses them never appears
> obvious to me.  I always have to read such code very carefully.

I have to admit that while using reduce, filter and map comes quite
naturally to me, my functional skills don't reach much further - which is a
pity :(

<snip> 
> All of those read more naturally to me than solutions using reduce().

Thats a matter of taste, which I won't argue about - after all, _you_ have
to read your code :) 

Diez




More information about the Python-list mailing list