Does Python really follow its philosophy of "Readability counts"?
david.lyon at preisshare.net
david.lyon at preisshare.net
Mon Jan 19 22:44:11 EST 2009
>> Because frankly, that's how I read Russ' explanation for what Scala is
>> doing. Have I missed something?
coz he gets paid per line of code....
it's a mindless way of getting paid more for the same functionality...
>> Well, I *thought* I did, and (unlike Bruno) I'm not hostile to the idea
>> Russ is proposing. But I must admit it's not clear to me why Russ thinks
>> it is a good idea to automatically turn this:
>>
>> class Parrot(object):
>> def __init__(self):
>> self.x = 1
>>
>> into this:
>>
>> class Parrot(object):
>> def __init__(self):
>> self._x = 1
>> def getx(self):
>> return self._x
>> def setx(self, value):
>> self._x = value
>> x = property(getx, setx)
>>
More information about the Python-list
mailing list