comp.lang.ada
 help / color / mirror / Atom feed
From: mab@dst17.wdl.loral.com (Mark A Biggar)
Subject: Re: Mut. Recurs. in Ada9X w/o Breaking Encaps.? (LONG)
Date: Sat, 1 Oct 1994 18:43:19 GMT
Date: 1994-10-01T18:43:19+00:00	[thread overview]
Message-ID: <1994Oct1.184319.6665@wdl.loral.com> (raw)
In-Reply-To: Cwyzx4.H3K@irvine.com

In article <Cwyzx4.H3K@irvine.com> adam@irvine.com (Adam Beneschan) writes:
>I assume that the examples given work correctly.  I assume also that
>they satisfy the really important requirement--namely, that packages
>other than Employee, including Office, have access to everything the
>Employee package wishes to put in its interface and to nothing else
>having to do with Employees (and similarly for Offices).  Thus, this
>is certainly an acceptable workaround for the problem.  But "clean"
>and "elegant"?  Maybe I'm being too much of a purist, but I have
>trouble characterizing something that requires adding this much code
>that has no meaning to someone reading the program, as elegant.  It
>seems more like a flaw in 9X that things have to be done this way.
>And based on my experience writing large Ada 83 programs, my gut
>instinct is that this is the sort of flaw that will be cursed by many
>9X users down the line.  I also realize that if we tried to make Ada
>9X absolutely perfect, it wouldn't be Ada 9X any more but something
>like Ada 23.  :-)

It is my understanding that a very early decision in the ada9X revision
process was to only add sufficiant new features to Ada to allow development
of OOP system using a building block approach.  In other words there should
be no "One True Way" to OOP in Ada9x.  Some of the early ideas proposed
for adding OOP to Ada9x would have forced a "One True Way" on the language
(E.G., adding package types).  Because Ada9x was designed using this
building block approach, some things might not end up looking as "Elegant"
of "Clean" as in other languages that do have a "One True Way", but the added
flexability should make designing OO system that use only as much of the OO
stuff as needed very simple compared to "One True Way" system that require
you to used everything whether you want it or not.  I personally thing
that the Ada9x design team has done an excellent job of sticking to the 
building block approach and have avoided a "One True Way" while providing
all the features needed to design OOP systems.

--
Mark Biggar
mab@wdl.loral.com




  parent reply	other threads:[~1994-10-01 18:43 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-09-27 16:52 Mut. Recurs. in Ada9X w/o Breaking Encaps.? (LONG) John Volan
1994-09-27 18:48 ` Mark A Biggar
1994-09-29  1:46   ` John Volan
1994-09-29 13:57     ` Tucker Taft
1994-09-29 17:20       ` Bjarne Stroustrup <9758-26353> 0112760
1994-09-30  1:38         ` Tucker Taft
1994-09-30 12:33           ` Bjarne Stroustrup <9758-26353> 0112760
1994-09-29 18:37       ` John Volan
1994-09-29 19:34         ` David Weller
1994-09-30 22:13           ` John Volan
1994-10-02  3:31             ` Andrew Lees
1994-09-30  1:47         ` Tucker Taft
1994-09-30 13:30           ` John Volan
1994-09-29 18:10     ` R. William Beckwith
1994-10-03  0:33     ` Cyrille Comar
1994-09-28 14:01 ` Norman H. Cohen
1994-09-29  2:12   ` John Volan
1994-09-29 14:01     ` Tucker Taft
1994-09-29 18:37     ` Norman H. Cohen
1994-09-29  9:48   ` Magnus Kempe
1994-09-29 13:10     ` Magnus Kempe
1994-09-29 18:05       ` Tucker Taft
1994-09-30 10:20         ` Mut. Recurs. in Ada9X w/o Breaking Encaps.? Magnus Kempe
1994-09-30 13:22           ` Tucker Taft
1994-10-01  1:24       ` Mut. Recurs. in Ada9X w/o Breaking Encaps.? (LONG) Adam Beneschan
1994-10-01 12:01         ` Magnus Kempe
1994-10-01 18:43         ` Mark A Biggar [this message]
1994-10-02 16:41         ` John Volan
1994-10-02 23:33           ` Matt Kennel
1994-10-03  8:07           ` Mut. Recurs. in Ada9X w/o Breaking Encaps.? Magnus Kempe
1994-10-03 12:14           ` Mut. Recurs. in Ada9X w/o Breaking Encaps.? (LONG) Robert I. Eachus
1994-10-04  2:12             ` R. William Beckwith
1994-10-04 16:00             ` John Volan
1994-10-05 11:42               ` Robert I. Eachus
1994-10-05 21:09               ` Matt Kennel
1994-10-03 20:29           ` Harry Koehnemann
1994-09-29 13:35     ` John Volan
1994-09-30 20:27       ` Norman H. Cohen
1994-10-01  1:47         ` John Volan
1994-10-01 20:44           ` Tucker Taft
1994-10-03 11:29           ` Robert I. Eachus
1994-09-30 22:46       ` Matt Kennel
1994-10-01  2:11         ` John Volan
replies disabled

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