comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Dereferencing and style guides
Date: Thu, 03 Oct 2013 15:20:47 -0400
Date: 2013-10-03T15:20:47-04:00	[thread overview]
Message-ID: <wccli2akvow.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: 5249ab97$0$6625$9b4e6d93@newsspool2.arcor-online.net

Georg Bauhaus <rm.dash-bauhaus@futureapps.de> writes:

> On 30.09.13 14:51, Robert A Duff wrote:
>> However, the ".all" syntax is just plain weird.  "All what?"  It makes
>> no sense to me.
>
> I take it you are deliberately being forgetful? ;-)
>
> All what? All [components] of the referenced object, of course.

Still makes no sense to me.  X.all does not denote "all the components
of X".  It denotes the object that X designates.  Saying, "Yeah it
denotes ALL of that object" seems silly.  Every name that denotes ANY
object denotes all of it.

And what if X.all is an Integer, so it has no components.

For an access-to-array, should it be X(all)?

No, sorry, I think the ".all" syntax is just plain weird.

> In true Ada, an plain old object is the only kind of entity that
> should ever need access through an access value!

Not sure what you mean.

- Bob

  parent reply	other threads:[~2013-10-03 19:20 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-30  6:35 Dereferencing and style guides Natasha Kerensikova
2013-09-30  7:13 ` Dmitry A. Kazakov
2013-09-30 12:51 ` Robert A Duff
2013-09-30 16:49   ` Georg Bauhaus
2013-09-30 18:18     ` Jeffrey Carter
2013-10-03 19:20     ` Robert A Duff [this message]
2013-10-04 13:22       ` Georg Bauhaus
2013-10-04 13:25         ` Georg Bauhaus
2013-10-07 16:10       ` Eryndlia Mavourneen
2013-10-08  0:48         ` Robert A Duff
2013-10-10  7:35           ` Stefan.Lucks
2013-10-10 14:48             ` Adam Beneschan
2013-10-10 22:49               ` Robert A Duff
2013-10-11  8:07                 ` Bill Findlay
2013-10-11 12:52                   ` Robert A Duff
2013-10-11 13:02                     ` G.B.
2013-10-11 13:19                     ` Bill Findlay
2013-10-19  2:40                     ` Randy Brukardt
2013-10-19  2:46                     ` Randy Brukardt
2013-10-19  2:36           ` Randy Brukardt
2013-09-30 13:53 ` Eryndlia Mavourneen
replies disabled

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