Metaprogramming Example
andrew cooke
andrew at acooke.org
Thu Apr 17 17:46:59 EDT 2008
bruno:
> Ho, and yes : one day, you'll get why it's such a good thing to unite
> functions and methods !-)
me:
> PS Is there anywhere that explains why Decorators (in the context of
> functions/methods) are so good? I've read lots of things saying they
> are good, but no real justification of why.
in the text above i wrote "Decorators" rather than "Descriptors". it
was in response to bruno's comment, also above. sorry for the
confusion.
also, sorry for the inflammatory language - by referring to the
titanic
i didn't mean that python was a disaster, rather that the "iceberg" is
still there (i am not 100% sure what the iceberg is, but it's
something
to do with making namespaces explicit in some places and not others).
anyway, it was only a small point. thanks for all the replies.
didn't
respond earlier as i was at work. now i can go back and polish that
code...
andrew
More information about the Python-list
mailing list