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 X-Received: by 10.180.85.5 with SMTP id d5mr2121394wiz.0.1369900879334; Thu, 30 May 2013 01:01:19 -0700 (PDT) Path: border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!lg1no19531235wic.0!news-out.google.com!hv6ni24180wib.1!nntp.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Bill Findlay Newsgroups: comp.lang.ada Subject: Re: Gnat 2013 is out! Date: Thu, 30 May 2013 09:01:17 +0100 Message-ID: References: <32d94173-533a-471e-95a0-abb73a6cdcc2@googlegroups.com> Mime-Version: 1.0 X-Trace: individual.net iFhNDth/28VjtpMVEm+/7QfKlGsbyqUTnYw697nSb3S1510+eg Cancel-Lock: sha1:xoVSdNDPXpdrvlqGXJBsscoaURY= User-Agent: Microsoft-Entourage/12.33.0.120411 Thread-Topic: Gnat 2013 is out! Thread-Index: Ac5dC9zBalmJKsJxmUyJdgj2cBHJhQ== Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Original-Bytes: 2943 Xref: number.nntp.dca.giganews.com comp.lang.ada:181766 Date: 2013-05-30T09:01:17+01:00 List-Id: On 30/05/2013 03:01, in article 32d94173-533a-471e-95a0-abb73a6cdcc2@googlegroups.com, "Adam Beneschan" wrote: > Even before Ada 2012, it's been possible to run into a problem with "distinct > access paths". Not just in Ada of course. The worst 'program' I ever saw was 'written' in 'FORTRAN'. Yes, those quotes are meant to scare you. In the mid 80s a graduate student visiting Glasgow was sent to me for help. A program, which she had brought with her from an even more ancient seat of learning, would not work on the GU Computing Service computer. This program consisted of many subroutines, each of which referenced all of the many COMMON areas, listing out their contents in toto, whether they were needed or not. Each COMMON area contained many variables. Each subroutine had many parameters, the actual parameters of most calls being being a selection of variables from the COMMON areas. Variables in COMMON were also used directly. Many times. Many, many times. Many times. She assured me that the program did work, back in the Fens. Dear reader, do not rush to judge her! It had been written by her eminent supervisor. So when I offered my considered opinion, that it was the biggest pile of programmatic cack I had ever set eyes on, she was understandably reluctant to communicate that message back to base. I explained the concept of aliasing; suggested that it was very unlikely that such code could be made, with any reasonable amount of effort, to work away from home; and that it very probably did not really work even there, no matter how lofty her supervisor's ivory tower, and no matter how many papers in prestigious journals he had published that were based on its output. This won me no brownie points whatsoever. 8-) -- Bill Findlay with blueyonder.co.uk; use surname & forename;