Does Python really follow its philosophy of "Readability counts"?
kyrie at uh.cu
Tue Jan 20 05:17:59 CET 2009
Quoting "Russ P." <Russ.Paielli at gmail.com>:
> On Jan 19, 6:24 pm, "James Mills" <prolo... at shortcircuit.net.au>
> > Python programmers tend to not have a need for
> > properties. Quite honestly they are a waste of time.
> > They come from traditional OO approaches to software design
> > (and mostly from the Java world).
> With statements like that, it's no wonder you don't understand the
> value of encapsulation.
> If you didn't plan ahead and encapsulate the radius from the start,
> properties allow you to save yourself and encapsulate it later without
> breaking the client's code.
Python programmers don't _need_ to plan ahead and encapsulate the radius from
the start. That's the whole point. No clairvoyance needed. I kind of like that.
Facultad de Matemática y Computación, UH
More information about the Python-list