this someone is busy :) On Jan 13, 2010, at 12:40 PM, Nicolas Cellier wrote:
2010/1/13 Lukas Renggli <renggli@gmail.com>:
Now it would be nice to clean that because in VW you have copy, shallowCopy and postCopy and it works. They removed veryDeepCopy and other friends even when they were at the time were they could burn engineering time on that.
+10
So for me clone is one too many. And worse cloning and object cannot be a shallowCopy semantics. it should be more a veryDeepInnerVeryCopy (I could not resist sorry) Of course we already clean and remove the veryDeepInnerCopy.... No comment.
The strange thing about #shallowCopy is in SequenceableCollection. It overrides #shallowCopy and does not return a shallowCopy.
Lukas
Yes, that sort of strange things forced me to introduce basicShallowCopy. This was a workaround but not a good fix. The good fix is in trunk : remove SequenceableCollection>>shallowCopy and define all the copy in term of postCopy and remove basicShallowCopy.
Someone should just cherry pick in trunk.
Nicolas
-- Lukas Renggli http://www.lukas-renggli.ch
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project