comp.lang.ada
 help / color / mirror / Atom feed
From: "Hibou57 (Yannick Duchêne)" <yannick_duchene@yahoo.fr>
Subject: Re: anonymous access type
Date: Thu, 5 Mar 2009 09:50:03 -0800 (PST)
Date: 2009-03-05T09:50:03-08:00	[thread overview]
Message-ID: <0a9f7a86-e8f6-41d4-ba0f-1f61ca323be5@b16g2000yqb.googlegroups.com> (raw)
In-Reply-To: wccocwgdn8i.fsf@shell01.TheWorld.com

On 5 mar, 16:05, Robert A Duff <bobd...@shell01.TheWorld.com> wrote:
> Do you find it strange that we don't have:
>
>     X : constant Integer := 123;
>     Y : variable Integer := 456; -- Not Ada!
>
> ?
> - Bob

Well done, you've got a clever point indeed.

Perhaps the reason why I did not miss is beceause it does not belong
to the same side. When I see in/out on parameters, I see it from the
external user point of view (e.g. I'm looking at it as a user who
would like make a reference to it), while when I see your exemple, I
see it from the inner point of view (e.g. I'm inside a procedure/
function).

You know what ? I oftenly miss something else : beside of the
formal_parameter_selector_name [ARM2005 6.4/5], I would enjoy in/out
hints at the call statement, just to make invokation instances more
clear when a procedure can modifiy its parameters. It it not always
easy to state it in the procedure's name or in the parameter's name.

But perhaps I'm a bit mad (may be the "explicit" concept is becoming a
kind of hard drug)



  parent reply	other threads:[~2009-03-05 17:50 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
2009-03-05 15:18       ` Dmitry A. Kazakov
2009-03-05 17:50       ` Hibou57 (Yannick Duchêne) [this message]
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