J2 proposal: keyword

Evan Simpson evan at 4-am.com
Mon Aug 23 13:54:33 EDT 2004


Robert Brewer wrote:
> III. Choosing a keyword

Useless aside:

If I had access to Guido's time machine, I would go back to the 
beginning of Python and brainwash Guido into prefixing all 
keywords-that-introduce-statements with the '@' character.  Adding a new 
statement keyword would then be easy-peasy, Leo would have chosen a 
different character, and Python programs would all look like this:

      @using my_decorator
      @def f(x):
          @if you_think_this_is_ugly or is_silly:
              @print "I agree with you"

Thank goodness I don't have access to it.

Cheers,

Evan @ 4-am




More information about the Python-list mailing list