class methods vs. functions

Egbert Bouwman egbert.list at
Thu Jul 15 22:04:57 CEST 2004

On Thu, Jul 15, 2004 at 09:40:53AM -0700, Steven Bethard wrote:
> So if you decide that your data attributes need to change, you haven't
> destroyed compatibility with users of your class, even if your data
> attributes were publicly available.  Continuing to support the older
> attributes isn't necessarily trivial, but at least it's /possible/
> (unlike C++ or Java).

Yes, I see that in real life access to the internal state of an
object is sometimes necessary. And Python allows it.

But what should i think of systems in which the users actually
have to use that licence ?

Egbert Bouwman - Keizersgracht 197 II - 1016 DS  Amsterdam - 020 6257991

More information about the Python-list mailing list