Re: [Pharo-project] Issue 3266 in pharo: Clean TextEditor
Nov. 25, 2010
8:02 a.m.
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.
5727
Age (days ago)
5727
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stéphane Ducasse