comp.lang.ada
 help / color / mirror / Atom feed
From: dweller@Starbase.NeoSoft.COM (David Weller)
Subject: Re: Mut. Recurs. in Ada9X w/o Breaking Encaps.? (LONG)
Date: 29 Sep 1994 14:34:04 -0500
Date: 1994-09-29T14:34:04-05:00	[thread overview]
Message-ID: <36f4rc$and@Starbase.NeoSoft.COM> (raw)
In-Reply-To: 1994Sep29.183749.7489@swlvx2.msd.ray.com

In article <1994Sep29.183749.7489@swlvx2.msd.ray.com>,
John Volan <jgv@swl.msd.ray.com> wrote:
>I am an unabashed fanatic of the 1 Package = 1 Type = 1 Class approach, and
>making that approach workable was the whole point of this thread.  

Well, to each their own.  Let's just say I'm on the other end of that
spectrum (no, more to the point, I simply don't advocate
class=package, although there's many times that works).  In my years
of developing software, I have yet to be swayed by arguments of "dual
associations" needing to be represented in classes.  I can see such a
need in databases, but I've just not encountered it in programming.
That's not saying they don't come up during analysis, but that their
final representation generally requires less gymnastics than some of
the interesting examples that have been discussed.  

I guess I can just be counted out of the class=module camp :-/

> In part, I'm
>influenced by Karl Lieberherr's work on the Demeter method, and his so-called 
>"Law of Demeter".  This law more or less asserts that each class in an 
>object-oriented system should be completely encapsulated and self-administering.
>A class should only "know about" the classes it is immediately associated with,
>and only "know about" them in terms of their own encapsulated interfaces.
>Moreover, this encapsulation should never be broken down, even if some
>functionality of the system requires propagating an algorithm across many
>classes of object.  Instead, the algorithm should be realized by a collaborative
>interaction among the public subprograms of the various classes.  I think this 
>is the essence of the whole object-oriented paradigm.
>

Is it appropriate at this point to shudder uncontrollably? :-)

>Well, thanks to you and to everyone else who contributed to this thread!
>
In spite of my disagreement, I think you brought up an interesting
topic.



-- 
Proud (and vocal) member of Team Ada! (and Team OS/2)        ||This is not your
   	      Ada -- Very Cool.  Doesn't Suck.               ||  father's Ada 
For all sorts of interesting Ada tidbits, run the command:   ||________________
"finger dweller@starbase.neosoft.com | more" (or e-mail with "finger" as subj.)
   ObNitPick: Spelling Ada as ADA is like spelling C++ as CPLUSPLUS. :-) 



  reply	other threads:[~1994-09-29 19:34 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 [this message]
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
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