comp.lang.ada
 help / color / mirror / Atom feed
From: dweller@universe.digex.net (David  Weller)
Subject: Re: Common base class in Ada95
Date: 1997/11/10
Date: 1997-11-10T00:00:00+00:00	[thread overview]
Message-ID: <647ogm$mul@universe.digex.net> (raw)
In-Reply-To: 647iu1$etr@server.cs.vt.edu


In article <647iu1$etr@server.cs.vt.edu>,
Siva Challa <siva@csgrad.cs.vt.edu> wrote:
>
>I am new to Ada95. I have a general question. Is there anything similar
>to a common base class(like the Object class in Java) in Ada95?
>

No.  Ada classes, like C++ classes, are organized as a "forest" of
classes.  No single tree, but several trees.  There's advantages and
disadvanteges to both approaches.  Smalltalk developers will go on
(and on and on :-) about the beauty and ease of having everything
derived from a single tree (like Java, the root is called "Object").

Personally, I've found the "forest" approach much more flexible.  But
it's important that you draw experience from both "types" of OO
languages (as well as different variations like CLOS).  You will find
that each language has good things and bad things, and that the
concept of a Grand Unified Language is about as elusive in programming
languages as it is in Physics :-)

Good luck on your journey!

-- 
   ******   NEW!!  DoD Ada Hotline Number:  1-800-PARIAH    ******
I refuse to let spammers control my e-mail address.  You don't have to remove
anything to send me e-mail.  Do what I do:  Save your "spam", print it
out, and mail it once a month to your Congressman.  TAKE BACK THE INTERNET!




      reply	other threads:[~1997-11-10  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-10  0:00 Common base class in Ada95 Siva Challa
1997-11-10  0:00 ` David  Weller [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox