TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Proportional Font
Show HTML 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]>
From: "W. Wesley Groleau x4923" <[log in to unmask]>
Date: Thu, 1 Oct 1998 16:30:34 -0500
Reply-To: "W. Wesley Groleau x4923" <[log in to unmask]>
Parts/Attachments: text/plain (16 lines)
> I suppose it has something to do with an urge to streamline and simplify
> -- if you can only do OO one way (either value-oriented or reference
> oriented), the Java way is not a bad choice, but I think that it
> turns out to make things  more complicated rather than simpler.

Well, with enough Java experience, you probably don't have much problem
with it.  But the biggest gripe is that Java does it two ways.
"Primitive" types do assignment and comparison of the values the way Ada
does.  All others do assignment and comparison of the references.  This
is, technically speaking, the same as Ada's assignment and comparison of
access values.  What is awkward for the Java beginner (or at least THIS
Java beginner) is the need to remember that the language has decided to
use an access type, and the need to use the Java equivalent of A.all :=
B.all -- and the fact that the Java equivalent is not nearly as simple in