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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8435c6357dfc5329 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-17 17:38:49 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3B7DB563.82D3F842@acm.org> From: Jeffrey Carter X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: User-defined access dereference References: <3B7DAEA0.60043A96@gsde.hou.us.ray.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 18 Aug 2001 00:23:25 GMT NNTP-Posting-Host: 63.180.2.171 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 998094205 63.180.2.171 (Fri, 17 Aug 2001 17:23:25 PDT) NNTP-Posting-Date: Fri, 17 Aug 2001 17:23:25 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net X-Received-Date: Fri, 17 Aug 2001 17:20:10 PDT (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:12084 Date: 2001-08-18T00:23:25+00:00 List-Id: "Stanley R. Allen" wrote: > > Now we are faced with another situation in which it would be nice to replace > ".all". This time, there are over 10,000 dereferences in over a million lines > of code, so it's out of the question to do to this code what was done to the > other code before. (The latest issue is the need to error-check each reference > because it's possible for 'remote' references to have recoverable point failures > in a what is essentially 'reflected memory' for a Linux cluster.) > > Any thoughts? I think you should make your access type private. Then any dereferences, explicit or implicit, will be illegal, and the compiler will catch any you miss. -- Jeff Carter "I blow my nose on you." Monty Python & the Holy Grail