Will python never intend to support private, protected and public?
en.karpachov at ospaz.ru
en.karpachov at ospaz.ru
Thu Sep 29 14:56:10 EDT 2005
On Thu, 29 Sep 2005 17:03:00 +0200
Fredrik Lundh wrote:
> en.karpachov at ospaz.ru wrote:
>
> > What if the access to that variable was forbidden for reasons you never
> > foresaw? What if the class author decide to remove the variable in the next
> > version of the class, because it's not an interface, but only a part of the
> > class implementation?
>
> you mean when he breaks into your computer and installs the new version
> without you noticing?
>
> if you think that once you've put private labels on all accidental stuff, nothing
> will break during upgrades, you're clearly very new to this thing called pro-
> gramming...
Do you ever heard of that funny things named "an interface" and "an
implementation"?
--
jk
More information about the Python-list
mailing list