comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.not.jrcarter@acm.not.spam.org>
Subject: Re: Ripple effect
Date: Mon, 04 Sep 2006 15:15:05 GMT
Date: 2006-09-04T15:15:05+00:00	[thread overview]
Message-ID: <ZpXKg.125106$FQ1.9495@attbi_s71> (raw)
In-Reply-To: <wccirk3zqm6.fsf@shell01.TheWorld.com>

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."

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

> 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.

> 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: '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)

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.

> 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?

-- 
Jeff Carter
"Now look, Col. Batguano, if that really is your name."
Dr. Strangelove
31



  reply	other threads:[~2006-09-04 15:15 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 [this message]
2006-09-04 18:06     ` Robert A Duff
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