python development practices?

Cliff Wells logiplexsoftware at earthlink.net
Wed Oct 31 16:17:29 EST 2001


On Wednesday 31 October 2001 13:11, Cliff Wells wrote:

> No problem here, but later, the author of Base decides to add a self._x to
> Base.  Now Derived is undoubtedly broken and it won't be clear why.  A
> private variable mechanism that could prevent this scenario would be a
> definite benefit.

And, no, I'm not fond of the double underscore either.  In effect, I want a 
"double underscore every data attribute in this class" statement, that is to 
say:

private:

Regards,

-- 
Cliff Wells
Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308
(800) 735-0555 x308




More information about the Python-list mailing list