[Python-ideas] C# style properties
lists at cheimes.de
Fri Jul 13 01:58:12 CEST 2007
Georg Brandl wrote:
> No, it's because they feel that the word "class" to introduce a property
> is ugly, and I can't blame them for it.
Yeah, it looks ugly, it's hard to understand if you aren't familiar with
the technique and it doesn't integrate into documentation tools like
pydoc. The trick isn't part of Python's stdlib, too.
I like to see a clean solution that is easy to understand and not a
genius but tricky metaclass hack.
More information about the Python-ideas