Why I chose Python over Ruby

Bil Kleb Bil.Kleb at NASA.gov
Mon Mar 6 05:18:52 EST 2006


Xavier Morel wrote:
>
>> 2) Ruby does not have true first-class functions living in the same
>> namespace as other variables while Python does :
>>
>> In Ruby you need extra syntax that ruins the "first-class-ness" :
>>
> The extra syntax is a side-effect of the parensless call of method, it 
> doesn't mean that methods are not first-class objects.

The parensless calls also allow one to write beautiful
DSLs with Ruby.

--
Bil
http://fun3d.larc.nasa.gov



More information about the Python-list mailing list