decorators ?

Jp Calderone exarkun at divmod.com
Thu Dec 2 21:43:22 EST 2004


On Thu, 02 Dec 2004 18:30:15 -0800, Josiah Carlson <jcarlson at uci.edu> wrote:
>
> [snip]
> 
> Technically, everything can be performed in assembly.  The point of
> syntactic sugar (or ammonia) is to make things less painful.  While
> everything was possible before, adding the decorators /after/ defining
> the function hid the decorators, and was susceptible to mistyping.
> 
> I previously posted about Philip Eby's use of decorators in PyObjC.  In
> his case, it saved him from typing 40-character function names 3
> times.

  Bob Ippolito, you mean.  And, no offense to Bob, but woopidy freaking doo.  Now the vast hordes of PyObjC developers get to use their editor's name completion feature a little bit less.  What an awesome justification for adding a whole new syntactic construct to the language.

  hoping-to-start-another-1000-message-thread-to-rehash-all-the-same-arguments'ly,

  Jp



More information about the Python-list mailing list