From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.linkpendium.com!news.linkpendium.com!news.snarked.org!newsfeed.news.ucla.edu!usenet.stanford.edu!news.kjsl.com!newsfeed-00.mathworks.com!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Dereferencing and style guides Date: Thu, 03 Oct 2013 15:20:47 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <5249ab97$0$6625$9b4e6d93@newsspool2.arcor-online.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls7.std.com 1380828048 10758 192.74.137.71 (3 Oct 2013 19:20:48 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Thu, 3 Oct 2013 19:20:48 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:jpXdy0TjtszYsAyVxlka0NDMijY= Xref: news.eternal-september.org comp.lang.ada:17393 Date: 2013-10-03T15:20:47-04:00 List-Id: Georg Bauhaus 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