[Python-Dev] @ character choice and Jython (was: Rejecting the J2 decorators proposal) (original) (raw)
Guido van Rossum gvanrossum at gmail.com
Wed Sep 1 17:55:52 CEST 2004
- Previous message: [Python-Dev] @ character choice and Jython (was: Rejecting the J2 decorators proposal)
- Next message: [Python-Dev] Freezing for alpha3 - trunk FROZEN from 2004-09-01 13:00 UTC
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [Python-Dev] @ character choice and Jython (was: Rejecting the J2 decorators proposal)
- Next message: [Python-Dev] Freezing for alpha3 - trunk FROZEN from 2004-09-01 13:00 UTC
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]