Metaclass uses?

Michele Simionato michele.simionato at gmail.com
Mon Dec 18 05:45:30 EST 2006


Nathan Harmston wrote:
> Hi,
>
> Recently I posted a question about the factory pattern in python. I ve
> implemented this following one of the ideas posted. After some reading
> I ve seem a lot of Aspect Oriented Programming mentioned but I m not
> really sure what it is.
>
> Can anyone help me understand how metaclasses can improve the quality
> of my code and let me do better things.

Have you read the two papers in IBMDeveloperWorks about metaclasses?
There is also
a third one, about avoiding metaclasses, which is waiting for
publication. Here is the draft:
http://www.phyast.pitt.edu/~micheles/python/classinitializer.html

       Michele Simionato




More information about the Python-list mailing list