Does Python really follow its philosophy of "Readability counts"?

Russ P. Russ.Paielli at gmail.com
Mon Jan 19 23:05:36 EST 2009


On Jan 19, 7:44 pm, <david.l... at preisshare.net> wrote:
> >> 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)
>
>

Why did you email your post to me? Did you really think I wanted to
see it in my inbox? I assure you I did not.

And who "gets paid per line of code"? The whole point is that Scala
saves the programmer the trouble of writing that boilerplate code that
Java programmers write themselves, genius.



More information about the Python-list mailing list