Any syntactic cleanup likely for Py3? And what about doc standards?
Ferenczi Viktor
python at cx.hu
Wed Sep 5 21:08:30 EDT 2007
> > Properties are very useful, since ordinary attribute access can be
> > transparently replaced with properties if the developer needs to
> > add code when it's set or needs to calculate it's value whenever
> > it is read.
>
> I totally agree. I like to use properties. However, Python already
> has properties. Their syntax is quite nice in my opinion, and
> rather explicit, too. Their only flaw is that they are not
> "virtual" (in C++ speak). In other words, you can't pass a "self"
> parameter to them.
Thanks for your comment. I'm going to elaborate on this issue. - Viktor
More information about the Python-list
mailing list