[Python-3000] Assignment decorators

Gustavo Niemeyer gustavo at niemeyer.net
Mon Dec 11 14:06:15 CET 2006


> That just seems ugly.  Decorators are fine for functions, methods (and

Ugly!? Come on.. normal assignments are so nineties. Think about the
amazing possibilities:

    @str
    @math.log
    @multiply(3)
    @add(2)
    a = 2

Who needs RPN!?  That's FPN.. Forward Python Notation.  Python will
be 30% better.

(and I'll use something else)

-- 
Gustavo Niemeyer
http://niemeyer.net


More information about the Python-3000 mailing list