View Single Post
Old 11-04-2003, 12:06 AM   #8 (permalink)
DarkTwilkitri
Registered User
 
Join Date: Feb 2003
Location: Australia
Posts: 21
DarkTwilkitri is on a distinguished road
I'm going to take that example and rewrite it a bit. Requesting a comparison with null is not the best way of demonstrating something - some languages will say that null != null...

Before I do that, though.

Quote:
no it doesn't - it passes a copied object's reference.
Let's take a real world analogy. The third game in my game shelf is Oracle of Ages. Therefore, we can say that the reference to Oracle of Ages is 3.
If we copy 3, or get a so-called reference copy, we still end up with a reference of 3, which still points to the same game.

I'll edit this after I go and check that example to see how it goes.

-Unless - you mean the reference to a copied object, not the copied reference to an object - in this case your argument makes sense - it's hard to tell.


--That code won't even compile without being edited...
DarkTwilkitri is offline   Reply With Quote