functional programming
François Pinard
pinard at iro.umontreal.ca
Tue Feb 22 07:36:27 EST 2000
Moshe Zadka <moshez at math.huji.ac.il> writes:
> At a guess, nobody does anything seriously functional with Python.
> Lack of lexical scoping and the weakness of lambdas discourage it.
> Whoever wrote this article must have seen "lambda" and concluded Python
> has a strong functional basis.
So far that I understand functional programming, I would not hesitate
using Python. My guess is that I would have no problem naming my lambda's
(using `def'), and approximating lexical closures (using `class').
Maybe we should not get distracted that much by syntactical sugar! :-)
--
François Pinard http://www.iro.umontreal.ca/~pinard
More information about the Python-list
mailing list