2010/1/12 Stéphane Ducasse <[email protected]>: > > On Jan 12, 2010, at 8:03 PM, Igor Stasenko wrote: > >> I think that #clone comes from Self or other prototype-based things. >> >> I prefer to use it instead of #shallowCopy, because as to me its more >> concise and more precise term >> for such operation - creating a 'bit-identical' copy of object. > > but shallowCopy means what is does while clone would be more like > veryDeepCopy but this is not...
hmm.. never thought in that way. for me, clone is a most basic copy method, which cloning a single object, means that its faar away from veryDeep one. AFAIK, there's also a way to clone object without even changing its identity hash. > So I would like to remove it. > > >> >> >> 2010/1/12 Lukas Renggli <[email protected]>: >>>> where do you see that it is morphic related for me clone is only >>>> implemented >>>> on character, Boolean, Object, SMalltInt symbol, UndefinedObject >>> >>> I am wrong. Forget what I said about #clone. >>> >>> Lukas >>> >>> -- >>> Lukas Renggli >>> http://www.lukas-renggli.ch >>> >>> _______________________________________________ >>> Pharo-project mailing list >>> [email protected] >>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >>> >> >> >> >> -- >> Best regards, >> Igor Stasenko AKA sig. >> >> _______________________________________________ >> Pharo-project mailing list >> [email protected] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- Best regards, Igor Stasenko AKA sig. _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
