PEP 318 decorators are not Decorators
Arien Malec
arien_malec at yahoo.com.REMOVE
Sun Aug 15 14:29:52 EDT 2004
Skip Montanaro <skip at pobox.com> wrote in
news:mailman.1662.1092523102.5135.python-list at python.org:
>
> Arien> 3) Won't most programmers think GoF decorators before
> Arien> compiler syntax tree decorators?
>
> Skip> Not if they are unfamiliar with the GoF patterns (myself
> included).
>
> Arien> Google: [~62,000 : ~130 mentions of each sort of decorator]
>
> ...
>
> BFD.... The thing is, just because in a verbal Rohrschach
> test you think "GoF" when someone says "decorator" doesn't mean
> everybody else will (or should).
Clearly, Python can choose any name for the auto-function-transformation
syntax in question, but it's rather willfully confusing to choose a name
that's heavily identified with a profoundly different semantics that's
superficially similar in intent.
Arien
More information about the Python-list
mailing list