From: Gavin Kistner Date: 2005-10-06T12:57:33+09:00 Subject: Re: Can Ruby pop like Lisp? On Oct 5, 2005, at 9:07 PM, Kevin Brown wrote: > A different array that contains the same objects is a deep copy. A > reference > to the same array is called a shallow copy, because the two > 'pointers' point > to the same physical memory. (jee, can you tell I came to Ruby from > C++?) I would disagree. The terminology I'm used to using and hearing states it as David did: A shallow copy is a new object of the same type holding references to the same objects as the original. A deep copy is a new object of the same type, where each 'child' object in the original is (recursively) deep copied.