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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,71d1fdde81c072f8 X-Google-Attributes: gid103376,public From: "Robert I. Eachus" Subject: Re: Computer Programming for Everybody? Date: 1999/09/23 Message-ID: <37EA9273.B617BBD2@mitre.org>#1/1 X-Deja-AN: 528784769 Content-Transfer-Encoding: 7bit References: <7rbkm4$pn6$1@nnrp1.deja.com> <7rikv9$ibg3@ftp.kvaerner.com> <7rjceh$92t@dfw-ixnews15.ix.netcom.com> <37DED9FE.9A882C2C@mitre.org> <7ronav$shf@dfw-ixnews7.ix.netcom.com> <37E92BB5.3C2DB9BB@mitre.org> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.mitre.org X-Trace: top.mitre.org 938119512 156 129.83.41.77 (23 Sep 1999 20:45:12 GMT) Organization: The MITRE Corporation Mime-Version: 1.0 NNTP-Posting-Date: 23 Sep 1999 20:45:12 GMT Newsgroups: comp.lang.ada Date: 1999-09-23T20:45:12+00:00 List-Id: Preben Randhol wrote: > The major problem is GOTO and the code this leads to. Definitely not! It is not the fault of the goto, which can be used in a structured manner in most languages. It is that in BASIC, language limitations force the programmer to use gotos where he shouldn't, and allow "dangerous" uses because the target is not limited. Ada has a goto, it is restricted to prevent misuse, and every so often there is a discussion in this group as to whether there are other uses for it than in implementing finite state machines. But if you are implementing an FSM, and many real-time and safety-critical systems do use FSMs (implicit or explicit), it belongs in the language. -- Robert I. Eachus with Standard_Disclaimer; use Standard_Disclaimer; function Message (Text: in Clever_Ideas) return Better_Ideas is...