decorators as generalized pre-binding hooks
spam.csubich+block at block.subich.spam.com
Mon Jul 11 09:00:50 EDT 2005
Kay Schluehr wrote:
> I think it would be a good idea to pronounce the similarity between
> function decorators and metaclasses. Metaclasses were once introduced
> as an arcane art of fuzzy bearded hackers or supersmart 'enterprise
> architects' that plan at least products of Zope size but not as a tool
> for the simple programmer on the street. But maybe they should be and
> there should also be librarys of them representing orthogonal
> customizations ready for plug in.
In which case, I point out the need for better, more accessible
documentation. The Python 2.4 tutorial, for example, doesn't mention
them at all as far as I've noticed.
More information about the Python-list