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: border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news-out.readnews.com!transit4.readnews.com!panix!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Dereferencing and style guides Date: Mon, 07 Oct 2013 20:48:33 -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 1381193313 6476 192.74.137.71 (8 Oct 2013 00:48:33 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Tue, 8 Oct 2013 00:48:33 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:MKQPjtsWDCj4D+FDCqYgciyocEY= X-Original-Bytes: 2015 Xref: number.nntp.dca.giganews.com comp.lang.ada:183602 Date: 2013-10-07T20:48:33-04:00 List-Id: Eryndlia Mavourneen writes: > On Thursday, October 3, 2013 2:20:47 PM UTC-5, Robert A Duff wrote: >> >> . . . >> >> No, sorry, I think the ".all" syntax is just plain weird. >> >> - Bob > > ".all" *is* weird; however, some construct is required, for instance, > to distinguish a stand-alone identifier for an object of an access > type from a parameterless subprogram. There may be other situations > that require it that I am not aware of. I like the syntax of Pascal: If X is a pointer, then "X" denotes that pointer, "X^" denotes the object it points at (all of it!), and "X^.Y" denotes the Y component of the object X points at (again, all of that component!). And "X.Y" is illegal. Since dereference is just one character, it's not painful to read. And it imparts useful information. - Bob