[squeak-dev] DoIts in Deltas - give us feedback please
siguctua at gmail.com
Wed Sep 9 21:33:05 UTC 2009
My 2 cents about class initialization..
I think that user could tell us what classes he wants to initialize
after delta applied.
And this means that we don't need to record this as doit, but as
separate "change" type.
The apply logic of this change could be simple:
- send #initialize to object which can be found in system dictionary
under user's provided name.
- if system dictionary doesn't contains such global name, simply skip over.
- the anti-change of this change type returns self (but always should
be applied last, maybe?).
(because if you remove something from class, either you adding
something to class, or changing something,
you still have to send same #initialize message).
Igor Stasenko AKA sig.
More information about the Squeak-dev