The winner of the Python Decorator Poll is...
Michele Simionato
michele.simionato at gmail.com
Thu Aug 12 00:52:03 EDT 2004
Jack Diederich <jack at performancedrivers.com> wrote in message news:<mailman.1533.1092259988.5135.python-list at python.org>...
> On Wed, Aug 11, 2004 at 04:16:54PM -0500, Doug Holton wrote:
> > George W Bush, as certified by Florida's election commission.
> >
> >
> > Which decorator syntax do you like the most? See
> > http://wiki.wxpython.org/index.cgi/PythonDecoratorsPoll
> > A. @classmethod def foo(): (82) 14%
> > C1. def foo() [classmethod]: (235) 41%
> > E1. def foo(): @classmethod (260) 45%
> >
> > Total Votes: 577
> >
> > People are about 6 to 1 against having the decorators come before the
> > "def" keyword.
>
> Or people who don't like decorators before the def are six times as
> likely to vote in the dissidents poll *wink*
>
> -Jack
Indeed. Actually I did not vote since I like the current proposal (maybe
I would like "|" more than "@") and I dislike all the alternatives,
especially having decorators inside the def.
So the poll is unavoidably biased. Happily, we are not in a democracy!
Michele Simionato
More information about the Python-list
mailing list