methods vs. properties, and tests and code reference (Re: [Bf-python] API overhaul - irc meeting?)
Martin Poirier
theeth at yahoo.com
Sun Jan 8 18:05:19 CET 2006
--- Michael Reimpell <M.Reimpell at tu-bs.de> wrote:
> You could do direct assignment of attributes via
> operator overloading in C++
> as well. The reason for getters and setters is
> "hiding the implementation". A
> concept that has proven to be very successful.
Attribute access (in Python at least) also completely
hides the implementation, so your point is quite moot.
Martin
__________________________________________
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
More information about the Bf-python
mailing list