this is just for state. You have traits for methods.
For me the way to go is first clean the classbuilder, have first class instance
variables,
what you want is just
hashSubclass:
instead of variableSubclass:
Stef
>
> IMO SimpleMorphic, minus 'color' ivar in Morph class is a way to go.
>>> (i mean get rid that 'color' thing in base class) :)
>>>
>>>
>>
>> Yep. I fully agree.
>>
> I think, for things like Morphic, where there are dozens of various
> properties expected
> to be in basic morph class, we should use dictionaries, backed up by
> clever VM semantics.
> I cannot stop thinking about extending object format to allow a
> dynamic number of slots per object,
> like in self or javascript.
>
>
>> Cheers,
>> Juan Vuletich
>>
>>
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>