comp.lang.ada
 help / color / mirror / Atom feed
From: "Robert I. Eachus" <rieachus@attbi.com>
Subject: Re: Ada 200X
Date: Tue, 03 Jun 2003 04:07:17 GMT
Date: 2003-06-03T04:07:17+00:00	[thread overview]
Message-ID: <3EDC1ED6.5050709@attbi.com> (raw)
In-Reply-To: 3OSS+0MB47qL@eisner.encompasserve.org

Larry Kilgallen wrote:

> Presuming your survey is accurate, what basis is there to think this
> would persist if Ada were widely used in a greater variety of domains ?

It is not a matter of the nature of domains, but of the nature of Ada. 
Try it and see.  A great test is a library of container classes.  At 
first you thing that you are going to have a four or five deep 
hierarchy.  After working on it a bit you conclude that there are two 
(or three depending on who is doing it)* top level classes, and all the 
other classes are children of those.  Why is this so different from 
other OO languages?  Me I 'blame' it on information hiding and the Ada 
culture. If you create a complex structure of derived in Ada, that 
reveals some implementation details to the user, or prevents the 
implementor from choosing the best way to implement a feature. Two sides 
of the same coin.

*Hey wait a mimute you say, remembering the original Booch components, 
you need tasking and non-tasking versions, and this and that, and... 
Right, but at the base you have various forms of structures with 
sequential access, and those with keyed/random access.  (The potential 
third category above is bags and other structures without unique keys.) 
  But a tasking safe singly linked list, a non-tasking safe doubly 
linked list, and a stack are all different implementations of a single 
interface abstraction.

Whether we get interface as a keyword in Ada 0Y or not, the parent is an 
abstract limited private type, and all the children are slightly 
different implementations.  If you want you can actually have some 
non-abstract subprograms in the parent, but in practice the ones you can 
inherit are one liners anyway.






  reply	other threads:[~2003-06-03  4:07 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-01 21:36 Ada 200X And838N
2003-06-02  2:22 ` Bobby D. Bryant
2003-06-02  4:20 ` Robert I. Eachus
2003-06-02 11:22   ` Larry Kilgallen
2003-06-02 14:09     ` Hyman Rosen
2003-06-02 14:23       ` Vinzent Hoefler
2003-06-02 14:59         ` Hyman Rosen
2003-06-02 15:04           ` Vinzent Hoefler
2003-06-02 15:18             ` Bill Findlay
2003-06-02 15:32               ` Larry Kilgallen
2003-06-02 15:41               ` Vinzent Hoefler
2003-06-02 15:07           ` Larry Kilgallen
2003-06-02 15:04         ` Larry Kilgallen
2003-06-02 14:23     ` Robert I. Eachus
2003-06-02 14:31       ` Vinzent Hoefler
2003-06-02 15:05         ` Larry Kilgallen
2003-06-02 15:06         ` Hyman Rosen
2003-06-02 21:05         ` Robert I. Eachus
2003-06-02 22:59           ` Larry Kilgallen
2003-06-03  4:07             ` Robert I. Eachus [this message]
2003-06-03  7:52           ` Jean-Pierre Rosen
2003-06-03  9:09           ` Vinzent Hoefler
2003-06-03 14:54             ` Robert I. Eachus
2003-06-04  7:38               ` Vinzent Hoefler
2003-06-05  7:20                 ` Robert I. Eachus
2003-06-02  5:36 ` Wesley Groleau
2003-06-02  8:02 ` Preben Randhol
2003-06-02 10:50 ` Georg Bauhaus
2003-06-03  2:29 ` Steve
2003-06-03  2:45 ` Gautier Write-only
2003-06-03  8:38   ` Vinzent Hoefler
2003-06-03 11:48   ` Preben Randhol
2003-06-03 12:14     ` Lutz Donnerhacke
2003-06-03 12:35       ` Preben Randhol
2003-06-07 21:16       ` Craig Carey
2003-06-08 11:14         ` Martin Dowie
2003-06-09 14:07           ` Craig Carey
2003-06-13 14:20             ` Matthew Heaney
2003-06-13 14:00         ` Matthew Heaney
2003-06-03 17:24     ` Robert A Duff
2003-06-03 17:45       ` Preben Randhol
2003-06-03 17:48         ` Preben Randhol
2003-06-03 18:05           ` Vinzent Hoefler
2003-06-04 10:36             ` Preben Randhol
  -- strict thread matches above, loose matches on Subject: below --
2004-10-31  1:51 David Botton
2004-10-31  7:33 ` Martin Dowie
2004-10-31 18:59   ` Jeffrey Carter
2002-12-26 16:17 Ada 200x Adrian Hoe
2002-12-27 19:32 ` Randy Brukardt
2002-12-27 20:55   ` Robert A Duff
replies disabled

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