[Python-ideas] Ruby-style Blocks in Python Idea

Aahz aahz at pythoncraft.com
Mon Mar 9 17:29:43 CET 2009


On Mon, Mar 09, 2009, Sturla Molden wrote:
> On 3/9/2009 4:45 PM, Aahz wrote:
>>
>> There's a substantial minority (possibly even a majority) in the Python
>> community that abhors functional programming.  
>
> There are a substantial minority that use Python for scientific  
> computing (cf. numpy and scipy, the Hubble space telescope, the NEURON  
> simulator, Sage, etc.) For numerical computing, functional programming  
> often leads to code that are shorter and easier to read. That is,  
> equations look like functions, not like classes.

Yes, I know; I'm just pointing out that Python is not a pure functional
language and that there's a tension within the community about how far
Python should go in the functional direction.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"All problems in computer science can be solved by another level of     
indirection."  --Butler Lampson



More information about the Python-ideas mailing list