comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: anonymous access type
Date: Thu, 05 Mar 2009 10:05:01 -0500
Date: 2009-03-05T10:05:01-05:00	[thread overview]
Message-ID: <wccocwgdn8i.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: 01fc8d33-ebe0-4104-a817-60e1dc6142e3@l38g2000vba.googlegroups.com

"Hibou57 (Yannick Duch�ne)" <yannick_duchene@yahoo.fr> writes:

> On 5 mar, 00:54, Robert A Duff <bobd...@shell01.TheWorld.com> wrote:
>>
>> It's really a (minor) language design flaw that "in" is allowed but
>> not required. �It should be either required or forbidden. �(I would
>> prefer forbidden.) �As it is, the Ada language has split into three
>> dialects: always say 'in', never say 'in', and say 'in' only for
>> procedures. �That's unfortunate.
>>
>> - Bob
> If it ever becomes forbidden, this would brake too much application
> sources around the world. There is no chancge it would occurs.

Right.  It should have been either required or forbidden in 1983,
but it's way too late to fix that now.

> Then, as long as "in out" makes sens beside of "out", then "in" do as
> well (would seems strange if there was "in out", "out" and no "in").

Do you find it strange that we don't have:

    X : constant Integer := 123;
    Y : variable Integer := 456; -- Not Ada!

?

> As the latter one, I'm of the ones who prefer to always write "in".

- Bob



  reply	other threads:[~2009-03-05 15:05 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-03 12:25 anonymous access type Maciej Sobczak
2009-03-03 12:40 ` christoph.grein
2009-03-03 12:44   ` christoph.grein
2009-03-03 13:15     ` Maciej Sobczak
2009-03-03 13:43 ` Jean-Pierre Rosen
2009-03-05  0:00   ` Robert A Duff
2009-03-03 21:03 ` sjw
2009-03-03 22:35   ` Adam Beneschan
2009-03-04  5:47     ` christoph.grein
2009-03-04 16:01       ` Robert A Duff
2009-03-05  1:44         ` Randy Brukardt
2009-03-05  8:52           ` christoph.grein
2009-03-05 11:08             ` Hibou57 (Yannick Duchêne)
2009-03-04  8:30   ` Maciej Sobczak
2009-03-04 23:54 ` Robert A Duff
2009-03-05  8:14   ` Ludovic Brenta
2009-03-05 16:27     ` Rob Norris
2009-03-05 17:51       ` Hibou57 (Yannick Duchêne)
2009-03-09 11:40         ` Rob Norris
2009-03-05 20:25       ` sjw
2009-03-06 12:49         ` Stephen Leake
2009-03-05  8:38   ` Hibou57 (Yannick Duchêne)
2009-03-05 15:05     ` Robert A Duff [this message]
2009-03-05 15:18       ` Dmitry A. Kazakov
2009-03-05 17:50       ` Hibou57 (Yannick Duchêne)
2009-03-05 18:35         ` Adam Beneschan
2009-03-06  0:52           ` Hibou57 (Yannick Duchêne)
2009-03-06 16:25             ` Adam Beneschan
replies disabled

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