class methods vs. functions

Egbert Bouwman egbert.list at hccnet.nl
Thu Jul 15 16:04:57 EDT 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
-- 
Egbert Bouwman - Keizersgracht 197 II - 1016 DS  Amsterdam - 020 6257991
========================================================================



More information about the Python-list mailing list