comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Ripple effect
Date: 04 Sep 2006 14:06:29 -0400
Date: 2006-09-04T14:06:29-04:00	[thread overview]
Message-ID: <wccejurbj6i.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: ZpXKg.125106$FQ1.9495@attbi_s71

"Jeffrey R. Carter" <spam.not.jrcarter@acm.not.spam.org> writes:

> Robert A Duff wrote:
> > The "Nada" thing was a joke.  I would not call a language "Nada", and
> > certainly not "Duff".  ;-)
> 
> Nada sounds like a great name for a language :) "What's so great about
> this language?" "Oh, Nada."

Nah.

> You did indicate that you would probably name it after someone.

Who or whom?  ;-)

> > I think you mean there is no equivalent of "use type".
> 
> IIRC, there is no equivalent of "use" or "use type". Of course, I may
> have misunderstood.

Not sure about "use" but "use type" is a bad idea -- should be the
default.

> > No, I think you misunderstand the "Ripple Effect".  As I understand it,
> > the Ripple Effect means that adding/removing a with_clause can cause
> > compilation units that do not depend DIRECTLY on the modified thing to
> > become illegal.  For example, suppose C with's B and B with's A.  Can a
> > with_clause on A affect the legality of C?  If so, there's a Ripple
> > Effect.
> 
> I've just rechecked the answer in the FAQ at adapower.com, and I think
> we're both mistaken: 

Could be.

>...'In brief, the (undesirable) Ripple effect was
> related to whether the legality of a compilation unit could be affected
> by adding or removing an otherwise unneeded "with" clause on some
> compilation unit on which the unit depended, directly or indirectly.'
> (Tucker Taft)

Sorry, but I've lost the context here.  What does "otherwise unneeded"
mean?

> So it's not a with on C, as I thought, and can be a with on B, which you
> exclude. It also refers only to unneeded withs. So, if B withs A
> unnecessarily, that could cause a Ripple effect.

Not sure what "unnecessarily" means.  I mean, if you say "with A" and
refer to A.Mumble, that's "necessary", right?

> > Anyway, to answer Jeff's question:  I think with_clauses should be
> > transitive in the first place, so that the Ripple Effect is not an
> > issue.
> 
> So you mean, in the example you give above, that because C withs B and B
> withs A, that C withs A? Is that how your language works?

Yes.  Do you think it should be otherwise?

- Bob



  reply	other threads:[~2006-09-04 18:06 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-23 22:29 Ripple effect Jeffrey R. Carter
2006-08-24  9:21 ` Maciej Sobczak
2006-08-24 23:39   ` Jeffrey R. Carter
2006-08-25  7:03     ` Maciej Sobczak
2006-08-24 18:22 ` Adam Beneschan
2006-08-24 23:40   ` Jeffrey R. Carter
2006-09-04 13:52 ` Robert A Duff
2006-09-04 15:15   ` Jeffrey R. Carter
2006-09-04 18:06     ` Robert A Duff [this message]
2006-09-05  2:33       ` Jeffrey R. Carter
2006-09-05  7:23         ` Dmitry A. Kazakov
2006-09-05 16:28           ` Robert A Duff
2006-09-05 16:23         ` Robert A Duff
2006-09-05 21:36           ` Jeffrey R. Carter
2006-09-07 18:18             ` Robert A Duff
2006-09-08 22:02               ` Jeffrey R. Carter
2006-09-06  0:10           ` Randy Brukardt
2006-09-07 18:30             ` Robert A Duff
2006-09-07 21:21               ` Simon Wright
2006-09-08  2:08               ` Randy Brukardt
2006-09-09 14:55             ` adaworks
2006-09-05 23:52         ` Randy Brukardt
2006-09-07 19:09   ` Adam Beneschan
2006-09-07 19:21     ` Ed Falis
2006-09-07 19:46       ` Larry Kilgallen
2006-09-08 13:06         ` Ed Falis
replies disabled

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