[Pharo-project] Issue 3266 in pharo: Clean TextEditor

Stéphane Ducasse stephane.ducasse at inria.fr
Thu Nov 25 09:02:02 CET 2010


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.
> 





More information about the Pharo-project mailing list