there's one (not a bunch) at: http://pharo.googlecode.com/issues/attachment?aid=7298911011553982520&name=CircularInstVarTest.st |
In reply to this post by Stéphane Ducasse
On Tue, Jan 12, 2010 at 11:55 PM, Stéphane Ducasse <[hidden email]> wrote: Now it would be nice to clean that because in VW you have copy, shallowCopy and postCopy and it works. I think you'll find VW has Object>>dcopy, which is essentially the same as veryDeepCopy, a structure-preserving graph copy. So VW has shallowCopy, copy built upon shallowCopy and postCopy, and dcopy. IMO all three are useful. Old deepCopy is not.
So for me clone is one too many. _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Stan Shepherd
Thanks I linked the two issues
On Jan 13, 2010, at 2:33 PM, Stan Shepherd wrote: > > > Stéphane Ducasse wrote: >> >> any bunch of cool tests before hacking? >> >> >> On Jan 13, 2010, at 9:53 AM, Alain Plantec wrote: >> >>> Lukas Renggli a écrit : >>>> I suggest everybody to have a quick look at VW: >>>> - they have #copy and #postCopy as we do >>>> - they have #shallowCopy that is used from #copy as we do >>>> - they have #dcopy (what a horrible name) that is implemented in a >>>> similar way to what I suggested for #deepCopy >>>> >>>> There is nothing else. >>>> >>> yes, I think we should adopt this with (dcopy -> deepCopy). >>> Alain >>>> Lukas >>>> >> >> > > there's one (not a bunch) at: > http://pharo.googlecode.com/issues/attachment?aid=7298911011553982520&name=CircularInstVarTest.st > -- > View this message in context: http://n2.nabble.com/clone-vs-shallowCopy-tp4290815p4348552.html > Sent from the Pharo Smalltalk mailing list archive at Nabble.com. > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Free forum by Nabble | Edit this page |