I'm intrigued that Python has some functional constructions in the language.

namekuseijin namekuseijin.nospam at gmail.com
Sat May 9 13:46:43 EDT 2009


Lawrence D'Oliveiro wrote:
> In message <692b7ae8-0c5b-498a-
> a012-51bda980f3b9 at s28g2000vbp.googlegroups.com>, namekuseijin wrote:
> 
>> On May 8, 6:48 pm, Lawrence D'Oliveiro <l... at geek-
>> central.gen.new_zealand> wrote:
>>> In message <gu269i$16i... at adenine.netfront.net>, namekuseijin wrote:
>>>
>>>> Carl Banks escreveu:
>>>>> 2. However, functional programming is cryptic at some level no matter
>>>>> how nice you make the syntax.
>>>> When your program is nothing but function definition and function
>>>> application, syntax is meaningless.
>>> On the contrary, syntax is vital to the correct interpretation of
>>> functional constructs. See, for example,
>>> <http://mail.python.org/pipermail/python-list/2008-October/683816.html>.
>> Yeah, it's important in an imperative language ...
> 
> That was an example of functional programming.

I noticed the use of list comprehensions.  The fact that list 
comprehensions are only available as predefined syntax in Python is 
noticed too.



More information about the Python-list mailing list