[Python-Dev] @ character choice and Jython (was: Rejecting the J2 decorators proposal)

Guido van Rossum gvanrossum at gmail.com
Wed Sep 1 17:55:52 CEST 2004


> One issue with the '@' character choice is that in the context of
> Jython things can get rather confusing and I mean beyond the fact
> that the need of an "annotation" to get a static method will seem
> rather bizarre to Java people. It somewhat put the burden on Jython
> to try to do the obvious thing:

[snipped example showing that Jython can do the right thing, at least
for Java-derived classes, with Java annotation interfaces]

> My point is basically that '@' will likely generate more user
> questions (which are time consuming) and expectations than a
> different character choice in Jython context.

Have you gotten cynical?  This should be counted as an argument *for*
the @ character.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
Ask me about gmail.


More information about the Python-Dev mailing list