comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.not.jrcarter@acm.not.spam.org>
Subject: Re: Ripple effect
Date: Tue, 05 Sep 2006 02:33:47 GMT
Date: 2006-09-05T02:33:47+00:00	[thread overview]
Message-ID: <fm5Lg.947292$084.573762@attbi_s22> (raw)
In-Reply-To: <wccejurbj6i.fsf@shell01.TheWorld.com>

Robert A Duff wrote:
> 
> Who or whom?  ;-) [did he say he'd probably name the language after]

You didn't say. I mentioned the main groups of language names: acronyms, 
things (Java), and people (Ada, Dylan). You said you'd probably go the 
people route.

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

OK. In the discussion, your language used "use" in context clauses as 
equivalent to Ada's "with" (which sounds like a good idea), and you 
didn't show any equivalent to Ada's "use". I thought I recalled you 
saying that the language didn't have one, but I guess IDRC.

If you do have an equivalent to Ada's "use", maybe it should be called 
"see".

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

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

My understanding is that B has "with A;" but doesn't reference A; A is 
"otherwise unneeded" because it's needed to make C (il)legal.

> Yes.  Do you think it should be otherwise? [transitive context clauses]

It seems awkward. We're working on a project. I create package B, which 
has "with A;" on it. I thought B would need it, but I was wrong, and 
forgot to remove it. You're developing C and need to use B, so you have 
"with B;" on C. Then you realize you need to use A and write some code 
that references A. You forget to put "with A;" on C, but it compiles OK 
because B references A. Then I clean up B and remove the reference to A 
from it. Now C doesn't compile. That seems undesirable.

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



  reply	other threads:[~2006-09-05  2:33 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
2006-09-05  2:33       ` Jeffrey R. Carter [this message]
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