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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!murtoa.cs.mu.oz.au!viccol!dougcc From: dougcc@csv.viccol.edu.au (Douglas Miller) Newsgroups: comp.lang.ada Subject: Re: problems/risks due to programming language Message-ID: <5018@csv.viccol.edu.au> Date: 23 Feb 90 02:09:17 GMT References: <5432@crdgw1.crd.ge.com> <8103@hubcap.clemson.edu> Organization: Computer Services, Victoria College, Melbourne List-Id: In article <8103@hubcap.clemson.edu>, billwolf%hazel.cs.clemson.edu@hubcap.clemson.edu (William Thomas Wolfe, 2847 ) writes: > Ada, on the other hand, is consistent: in both the if and case statements, > the default is to exit the construct once the code associated with the > specified situation has been executed. Ada also provides the exit > statement, a restricted GOTO which permits a loop to be exited early, > but this construct is not used (as is C's break) on a routine basis. Huh? Surely EXIT is the only and sensible way to exit a simple loop? Why do you call EXIT a `restricted GOTO'? This makes as much sense to me as describing a statement as a performing a `restricted GOTO' from the previous statement.