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,ec4cde5d799065b6 X-Google-Attributes: gid103376,public From: Richard D Riehle Subject: Re: Is there an ADA analogue to the C++ continue statement? Date: 1997/09/22 Message-ID: <606eg8$bm9@dfw-ixnews5.ix.netcom.com>#1/1 X-Deja-AN: 274562509 References: <01bcc32e$350b5ba0$6409868b@gateway> <5vqm61$fu2$1@cf01.edf.fr> <3422F037.41CA@lmco.com> <3423AF1B.5152@i.b.m.net> Organization: Netcom X-NETCOM-Date: Mon Sep 22 1:47:36 PM CDT 1997 Newsgroups: comp.lang.ada Date: 1997-09-22T13:47:36-05:00 List-Id: We should probably change the name of the topic to: "Go To Considered Harmful" reflecting the origins of this notion in the 1968 letter by E. Dijkstra to the Communications of the ACM. No experienced software practitioner, using any language, would design software so it required a "goto." During the design phase of a project we all try to abide by accepted practices that have proven effective in building reliable software. However, during the implementation phase, when we are actually trying to lay down clear, maintainable, and efficient code, we sometimes find it appropriate to make use of some construct that might horrify the standards people. I can recall only one project where it was appropriate to use a "goto" and we required the programmer to justify its use in a meeting of his fellow team members, most of whom were congenitally hostile to even the thought of a "goto." He did justify its use, and we agreed to let it go (to). Unfortunately, the people who make up rules for programming are all too often people who no longer write programs. Sometimes they are even people who never have written programs. I am a firm believer in coding standards. I would like to think I also believe in common sense. Sometimes inviolate rules are more the cause of problems than the solution. Someone one once said that "The last act of a dying organization was to enlarge the rule book." Perhaps we should consider carefully before we legislate ourselves into untenable circumstances. Richard Riehle AdaWorks Software Engineering