comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: *\\~record depth~//*
Date: 1999/11/09
Date: 1999-11-09T00:00:00+00:00	[thread overview]
Message-ID: <8087ch$5is$1@nnrp1.deja.com> (raw)
In-Reply-To: 3827113A.DCFE454A@callnetuk.com

In article <3827113A.DCFE454A@callnetuk.com>,
  Nick Roberts <nickroberts@callnetuk.com> wrote:

<<very nice discussion of why this might be useful snipped>>

Note that even if it were not useful, it is obviously well
defined, and the semantics are trouble free. The Ada design
is not in the business of forbidding things for no good reason,
and "we can't think of a useful use" is NOT a good reason
for forbidding things.

There are things that are forbidden arbitrarily, but there is
a good reason for the rule. For example, it is an angularity
in the language that out parameters are not allowed in
procedures, but this restriction is there very deliberately,
because lots of people think it is an important methodological
restriction (as everyone knows, I strongly disagree with this
particular viewpoint, and this point continues to be argued).

But if anyone tried to argue for introducing an arbitrary
restriction that made the language description more complex
and the best argument they could come up with was "this use
of this particular feature doesn't seem to be useful, so let's
not allow it", they would not get very far!

Indeed, it is often the case that things turn out to be useful
which were not specifically understood as useful in advance.
It takes time to learn all the interesting ways that the
features of a language like Ada can work together.


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~1999-11-09  0:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-09  0:00 *\\~record depth~//* G
1999-11-08  0:00 ` Nick Roberts
1999-11-09  0:00   ` Robert Dewar [this message]
1999-11-09  0:00     ` David C. Hoos, Sr.
1999-11-09  0:00       ` Robert Dewar
1999-11-09  0:00 ` oops - same with neater formatting G
1999-11-15  0:00 ` *\\~record depth~//* Mario Amado Alves
1999-11-15  0:00   ` Matthew Heaney
1999-11-16  0:00     ` G
1999-11-16  0:00       ` Robert Dewar
1999-11-16  0:00       ` Robert Dewar
1999-11-16  0:00         ` Robert A Duff
1999-11-16  0:00       ` Robert Dewar
replies disabled

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