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,8002154d2966e1a1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-04 12:49:37 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3DC6DD54.10200@acm.org> From: Jeffrey Carter User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Local vs global variables in ADA References: <5Ldx9.3695$151.38236@weber.videotron.net> <3DC5D1B7.1060707@acm.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 04 Nov 2002 20:48:42 GMT NNTP-Posting-Host: 63.184.17.71 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1036442922 63.184.17.71 (Mon, 04 Nov 2002 12:48:42 PST) NNTP-Posting-Date: Mon, 04 Nov 2002 12:48:42 PST Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:30362 Date: 2002-11-04T20:48:42+00:00 List-Id: Wes Groleau wrote: >> The only real global variables in Ada are those declared in the >> visible part of package specifications. These are a no-no. > > > Generally a bad idea. However, it's worth noting that > a large number of very smart people saw no reason to > make them illegal when the language was being designed. True. But since at the Ada launch on 1980 Dec 10, some of those people said that the language contained "goto" primarily to facilitate automated translation from languages such as FORTRAN 66, and "while" primarily to facilitate such translation from languages such as Pascal, we should not construe that everything allowed by the language is necessarily a Good Idea for new software. -- Jeff Carter "Monsieur Arthur King, who has the brain of a duck, you know." Monty Python & the Holy Grail