Ben Finney wrote:
> Summercool <Summercoolness / gmail.com> writes:
> 
>> I just want to confirm that in OOP, if a is an object, then b = a is
>> only copying the reference.
> 
> Whether the language is OO or not has no bearing on this question. The
> semantics of the assignment operator can and do differ between
> languages, orthogonal to whether OOP is involved.


true enough.  the copy mechanism of a language that uses garbage 
collection has no concept of an address .. therefore can only copy the 
reference.
-- 
Posted via http://www.ruby-forum.com/.