Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Advanced OOP tutorial

1 view
Skip to first unread message

Fernando

unread,
Nov 4, 2003, 1:33:34 PM11/4/03
to
Hi,

Is there any advanced OOP tutorial that cover metaclass programming?

Thanks

Alex Martelli

unread,
Nov 4, 2003, 5:50:56 PM11/4/03
to
Fernando wrote:

"advanced" and "tutorial" are sort of opposites, aren't they?

There's plenty of metaclass materials, e.g. my slides on "Python
Metaclasses" from Europython are downloadable as PDF from a link at:

http://www.strakt.com/dev_talks.html


Alex

Michele Simionato

unread,
Nov 5, 2003, 1:19:14 AM11/5/03
to
isc...@hotmail.com (Fernando) wrote in message news:<a26792eb.03110...@posting.google.com>...

> Hi,
>
> Is there any advanced OOP tutorial that cover metaclass programming?
>
> Thanks

Alex's slides are more "advanced"; if you want something more "tutorial"
see

http://www-106.ibm.com/developerworks/library/l-pymeta.html
http://www-106.ibm.com/developerworks/linux/library/l-pymeta2/

Finally, there are Guido's essays

http://www.python.org/2.2.2/descrintro.html
http://www.python.org/doc/essays/metaclasses/

which I would read after the other references given here.

Michele Simionato

Alan Gauld

unread,
Nov 5, 2003, 5:39:10 PM11/5/03
to
On 4 Nov 2003 10:33:34 -0800, isc...@hotmail.com (Fernando)
wrote:

> Is there any advanced OOP tutorial that cover metaclass programming?

You've been given some Python specific material.

Other sources on metaclasses in general can be found at the
portal for all thinks OO at

http://www.cetus-links.org/

Also in the excellent OO FAQ, look under Basics at
sections 1.4 and 1.6.

http://www.objectfaq.com/

Also most Smalltalk tutors have a section on metaclasses
and their use - a very common technique in Smalltalk...

And finally there is the hard to find but excellent Metaclass
book by Forman & Danforth.

HTH,

Alan g.
Author of the Learn to Program website
http://www.freenetpages.co.uk/hp/alan.gauld

0 new messages