On 13Sep2012 18:58, alex23 <wuwe...@gmail.com> wrote:
| On Sep 14, 3:54 am, Jean-Michel Pichavant <jeanmic...@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?

It is for me when I'm _writing_ the decorator:-) But if I get it right
and name it well I find it dramaticly _decreases_ the cognitive burden
of the code using the decorator...
-- 
Cameron Simpson <c...@zip.com.au>

Observing the first balloon ascent in Paris, [Ben] Franklin heard a scoffer
ask, "What good is it?"  He spoke for a generation of scientists in
his retort, "What good is a newly born infant?" - John F. Kasson
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to