From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: OOD in Ada?
Date: 24 Jun 2002 10:19:35 -0400
Date: 2002-06-24T14:26:54+00:00 [thread overview]
Message-ID: <uy9d4oj2g.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: 3D153ABB.4090400@telepath.com
Ted Dennison <dennison@telepath.com> writes:
> Pat Rogers wrote:
> > "David Crocker" <dcrocker@eschertech.com> wrote in message
> > news:3d135676$0$8511$cc9e4d1f@news.dial.pipex.com...
> >>as an OO developer but Ada novice, it appears to me that any attempt to
> >>implement a large OO design in Ada will run into the following problems:
> >>
> >>1. The infamous "withing" problem (i.e. it is not possible to declare 2
> >>classes A and B, each in its own package, such that A has a method taking a
> >>paremeter of type "access B", and B has a method with a parameter of type
> >>"access A"); and
> > I have not found that problem to be frequent. Others will tell
> > about how to
> > deal with it.
>
> Since you can't do it, it will eventally become second nature to
> design in such a way that it doesn't happen.
Actually, you can do it in GNAT; it supports the "with type"
extension.
The only time I've used it is when importing Java code; that's why the
"with type" extension was added.
> When it does, I generally consider this the language's little way of
> telling me that my code needs to be better structured.
In general, I agree with this.
--
-- Stephe
next prev parent reply other threads:[~2002-06-24 14:19 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-21 16:39 OOD in Ada? David Crocker
2002-06-21 17:20 ` Pat Rogers
2002-06-21 19:37 ` Ed Falis
2002-06-23 3:05 ` Ted Dennison
2002-06-23 7:03 ` tmoran
2002-06-24 21:41 ` Ted Dennison
2002-06-24 14:19 ` Stephen Leake [this message]
2002-06-21 17:22 ` Marin David Condic
2002-06-22 4:42 ` Jeffrey Carter
2002-06-22 9:18 ` Dr. Michael Paus
2002-06-22 9:47 ` Pascal Obry
2002-06-22 13:11 ` Dr. Michael Paus
2002-06-22 13:46 ` OOD in Ada? Correction Dr. Michael Paus
2002-06-22 18:21 ` Simon Wright
2002-06-28 23:57 ` Randy Brukardt
2002-07-09 8:45 ` Preben Randhol
2002-07-09 17:12 ` Mark Biggar
2002-07-09 19:40 ` Randy Brukardt
2002-06-23 3:33 ` OOD in Ada? steve_H
2002-06-23 4:55 ` Jim Rogers
2002-06-23 5:33 ` achrist
2002-06-25 18:00 ` Georg Bauhaus
2002-06-25 18:55 ` Marin David Condic
2002-07-07 18:19 ` Daniel Dudley
2002-06-23 7:46 ` Dr. Michael Paus
2002-06-24 5:06 ` steve_H
2002-06-23 19:26 ` Chad R. Meiners
2002-06-22 22:47 ` Dmitry A.Kazakov
2002-06-24 20:03 ` Kevin Cline
2002-06-25 13:32 ` David Crocker
2002-06-25 13:58 ` Marin David Condic
2002-06-26 18:16 ` tmoran
2002-06-26 18:47 ` Marin David Condic
2002-06-27 18:23 ` tmoran
2002-06-28 13:09 ` Marin David Condic
2002-06-26 0:59 ` Hyman Rosen
2002-06-26 4:57 ` Jim Rogers
2002-06-26 12:49 ` Marin David Condic
2002-06-26 9:01 ` Fraser Wilson
2002-06-29 0:08 ` Randy Brukardt
2002-07-01 11:50 ` Fraser Wilson
2002-07-05 20:02 ` Stephen J. Bevan
2002-07-09 19:19 ` Craig Carey
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox