Decorators not worth the effort

alex23 wuwei23 at gmail.com
Sun Sep 16 20:38:21 EDT 2012


On Sep 15, 6:30 am, Terry Reedy <tjre... at udel.edu> wrote:
> > On 13Sep2012 18:58, alex23 <wuwe... at gmail.com> wrote:
> > | On Sep 14, 3:54 am, Jean-Michel Pichavant <jeanmic... at sequans.com>
> > | wrote:
> > | > I don't like decorators, I think they're not worth the mental effort.
> > |
> > | Because passing a function to a function is a huge cognitive burden?
>
> For parameterized decorators, there is extra cognitive burden. See below.

I do regret my initial criticism, for exactly this reason.



More information about the Python-list mailing list