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: 11390f,4c42ac518eba0bbe X-Google-Attributes: gid11390f,public X-Google-Thread: 109fba,4c42ac518eba0bbe X-Google-Attributes: gid109fba,public X-Google-Thread: 1014db,4c42ac518eba0bbe X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,4c42ac518eba0bbe X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Programming language vote - results Date: 1997/12/02 Message-ID: #1/1 X-Deja-AN: 294568507 References: <343fbb5a.0@news.iprolink.ch> <3470EF6E.F74@lysator.liu.se> <879863453snz@genesis.demon.co.uk> <65gaoj$f8u$1@helios.crest.nt.com> <6616ej$llt@fstgal00.tu-graz.ac.at> X-Complaints-To: usenet@news.nyu.edu X-Trace: news.nyu.edu 881081436 1135 (None) 128.122.140.58 Organization: New York University Newsgroups: comp.lang.ada,comp.lang.apl,comp.lang.c,comp.lang.c++ Date: 1997-12-02T00:00:00+00:00 List-Id: <> I certainly don't want a rerun of the goto debate, but you should know that the above absolutely stated opinion is rejected by many people. It is certainly not the case that all gotos produce unreadable code. Good programmers often use a goto to improve the readability of the code (indeed that is the only reason for using gotos). A common exception for many people is that finite state machines are sometimes more easily represented with code using gotos. If this thread starts again, one hopes it does not, nothing new will be said, but you will see that the bottom line is that *some* people agree that gotos are evil and should never be used, but many people (including for example Wirth and Knuth) don't have this allergic reaction to gotos, and find useful uses for them. Note that the fact that the design of Ada 83 contains the goto, and that noone suggested putting the goto into annex J in Ada 95, should indicate that the sentiment that gotos are *sometimes* useful is widespread. Yes, of course we all know that an excessive use of gotos is a bad thing. So is an excessive amount of almost anything, e.g. salt, but that does not mean you should ban salt!