Distinguishing attributes and methods

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Mon Dec 10 14:03:37 EST 2007


Steve Howell a écrit :
> --- Jan Claeys <usenet at janc.be> wrote:
> 
>>To conclude this discussion:
>>
>> * in Python, methods are attributes
>> * in Ruby, attributes are methods
>>
> 
> 
> So clearly one of the languages has it all wrong. ;)
> 

Nope, quite on the contrary, both got it right !-)



More information about the Python-list mailing list