Alek Storm wrote:
Whoops, that metaclasses reference didn't quite make sense (it was pretty late in my timezone). I meant that, in Smalltalk for example, classes are also first-class objects. Also, in prototype-based languages like Self and ECMAScript, objects might also want to act like classes, as they can be cloned and extended, etc.
Yup, it makes for a much more consistent and flexible system. Allison