php vs python

Diez B. Roggisch deets at nospam.web.de
Thu May 29 06:03:00 EDT 2008


> A good OO programmer could easily write good functional code.

You are aware that functional programming is *not* procedural or imperative
programming? 

http://en.wikipedia.org/wiki/Functional_programming

OO is *heavily* depending on state and state modification. I've seen OO
programmers weep over functional programming assignments. Which is not to
say that FP is in any sense bad - au contraire, knowing it is important
because it is a different school of thought that's very valuable to know
of. And Python allows for many of the FP concepts to be used. See map,
filter and other HOFs.

Diez



More information about the Python-list mailing list