decorators ?

Simon Brunning simon.brunning at gmail.com
Fri Dec 3 12:34:41 CET 2004


On Fri, 03 Dec 2004 02:43:22 GMT, Jp Calderone <exarkun at divmod.com> wrote:
>   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.

It's not the typing that's the problem. "The Pragmatic Programmer"[1]
covers the DRY (Do Not Repeat yorself) principal at some length, but
briefly, the major problem is with maintainability. The danger is that
when wne instance of the fiunction name is changed, other won't be,
leading to breakage.

-- 
Cheers,
Simon B,
simon at brunningonline.net,
http://www.brunningonline.net/simon/blog/
[1] http://pragmaticprogrammer.com/ppbook/extracts/rule_list.html



More information about the Python-list mailing list