[Python-Dev] Re: decorators and 2.4
eppstein at ics.uci.edu
Fri Jun 25 13:19:01 EDT 2004
In article <200406250357.i5P3vRNh020599 at cosc353.cosc.canterbury.ac.nz>,
Greg Ewing <greg at cosc.canterbury.ac.nz> wrote:
> > If people prefer my favorite (decorator-list-before-def, C# style)
> > over Java-style, that's fine too... :-)
> I don't really like either of them, but to my eyes your original one
> is definitely the least worst. I find the @-signs extremely ugly.
I wouldn't say they're pretty, but I like them better than the
alternative C# list-followed-by-def-magically-becomes-decorator.
And the argument about being able to cut and paste them a line at a time
makes sense to me too.
David Eppstein http://www.ics.uci.edu/~eppstein/
Univ. of California, Irvine, School of Information & Computer Science
More information about the Python-Dev