At EuroPython 2004, Guido made us vote on the Python decorator syntax.
I voted against what became the current syntax at the time. Today I
rather like it, not only because other languages also use it. I think
it doesn't read as badly as I anticipiated. It especially makes
things like dynamic properties much more readable:
>>> class JamesBrown(object):
... ...
Posted by
Philipp von Weitershausen @ 05/29/2006 10:07 PM.
-
Categories:
Python
-
0 comments