TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Proportional Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Date: Wed, 12 Apr 2000 18:15:38 +0200
Reply-To: Jean-Pierre Rosen <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="iso-8859-1"
Organization: Adalog
From: Jean-Pierre Rosen <[log in to unmask]>
Parts/Attachments: text/plain (19 lines)
From: Alan and Carmel Brain <[log in to unmask]>

> Similarly for a==b, where in java you're saying "are a and b just aliases
> for the same object"
> rather than comparing their internal values. Which is done with
> assuming
> that's defined.
One of the most irritating things in Java is how it insists on reference
Note that here, == means reference equality, while equals means value
However, the default (inherited) for equals is reference equality!
Really confusing...
           J-P. Rosen ([log in to unmask])
Visit Adalog's web site at