Properties vs. get/set-methods
aahz at pythoncraft.com
Thu Aug 22 18:37:42 CEST 2002
In article <3d64b8fa at nntp.server.uni-frankfurt.de>,
Michael 'Mickey' Lauer <mickey at tm.informatik.uni-frankfurt.de> wrote:
>So far I guess this would have a performance drawback and a loss
>of clarity here just in favour of having the possibility to do
>instance.attribute = value instead of instance.setAttribute(value).
>Seems to me that this really is not the scenario properties were
>invented for!? What am I missing here?
You're missing that it's exactly the scenario properties are for. ;-)
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Project Vote Smart: http://www.vote-smart.org/
More information about the Python-list