Re: [Tutor] digging more into metaclasses

2006-07-14 Thread Kent Johnson
anil maran wrote: > hi guys > > are metaclasses like templates in C++ No. Templates are a way to make generic functions that will work with a variety of types of data. Because Python is dynamically typed, all functions are generic in this sense and templates are not needed. See http://en.wikipe

Re: [Tutor] digging more into metaclasses

2006-07-13 Thread Alan Gauld
> are metaclasses like templates in C++ > thanks for your explanations No, there is no direct concept of metaclasses in C++. You need to ook to languages like Lisp and Smaltalk for those. The nearest you get to meta-classes in C++ is static members and methods. But they don't allow you to alter

[Tutor] digging more into metaclasses

2006-07-13 Thread anil maran
hi guysare metaclasses like templates in C++thanks for your explanations Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor