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,cf677878aa77e0d8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-13 15:45:24 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!netnews.com!newsfeed.nyc.globix.net!uunet!ash.uu.net!xyzzy!nntp From: Jeffrey Carter Subject: Re: an infinate loop X-Nntp-Posting-Host: e246420.msc.az.boeing.com Content-Type: text/plain; charset=us-ascii Message-ID: <3B4F758B.197CA145@boeing.com> Sender: nntp@news.boeing.com (Boeing NNTP News Access) Content-Transfer-Encoding: 7bit Organization: The Boeing Company X-Accept-Language: en References: <3B4F2962.25BB60FF@boeing.com> Mime-Version: 1.0 Date: Fri, 13 Jul 2001 22:26:19 GMT X-Mailer: Mozilla 4.5 [en]C-CCK-MCD Boeing Kit (WinNT; U) Xref: archiver1.google.com comp.lang.ada:9928 Date: 2001-07-13T22:26:19+00:00 List-Id: Ted Dennison wrote: > > >At the "Ada Launch" (1980 Dec 10), Ichbiah, Barnes, and Firth introduced > >the recently renamed Ada language (MIL-STD 1815, formerly Green, now > >known as Ada 80) to the world. They said "while" was in the language > >primarily to support translation from languages such as Pascal, and > >advised using the "loop ... exit when" format in new code. > > Interesting. Do you have a reference for this (or perhaps you were there)? It > seems like rather bad logic, as you can clearly construct any of the other kinds > of loops with "loop" and "exit". I do remember hearing (second hand. I'm not > trying to claim I was there either) a quote similar to this about "goto". There > are those here who would dispute its validity in that context too though. My first introduction to Ada was watching videotapes of the Ada Launch presentations by IBF and reading copies of their slides. I have no idea how you could get this today. They did say that goto was in the language primarily to support translation from languages such as FORTRAN. Lucky for the state machine with goto people that they were interested in supporting translation from other languages. -- Jeffrey Carter