[Tutor] properties and subclasses

Alan Gauld alan.gauld at freenet.co.uk
Tue Apr 26 23:01:27 CEST 2005


> I had found the first thread you linked. I see what you mean about
the
>   cure -- my general belief is that *I* am unlikely to have problems
> for which meta-classes are really the best solution :-)

Once you get used to them meta-classes are very useful. In fact I have
never built an industrial size OO system yet that did not use meta
classes somewhere in the design...

And if you program in OO in Smalltalk, CLOS or Objective C its hard to
escape them. They really aren't that difficult once you wrap your head
around the concept. OTOH I've never actually got round to trying to
use them in Python yet... :-)

Alan G.





More information about the Tutor mailing list