Nautilus class instVarNames -> #('maxSize' 'cachedLastClasses' 'groups')
ok we get the instance variables
Nautilus class instVarNamed: 'groups' -> error
For me that is wrong. I should not get an error, I should get the actual variable. I mean, why #instVarNames workds but #instVarNamed: doesn't? That is inconsistent.
not at all... the class holds all the structural information. The class holds the description of the instances... The very same goes for methods: - You ask the class for the available methods - You invoke them on instances in parallel - You ask the class for the available variables - You ask the instance for the values of the variables So again: All structural information should be on the class side, all actual values have to be extracted from a living instance. I guess by having first-class layouts this discussion would be simplified, since slots/variables become first class instances. Plus adhering to strict naming conventions you will avoid this confusion Slots: the description (meta-object) of a Variable Variable: living instances with actual values on the objects furthermore you can then use the slot to read the variable from an instance :) and the circle is closed :) best cami