Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site umd5.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!lll-crg!gymble!umcp-cs!cvl!umd5!zben From: zben@umd5.UUCP Newsgroups: net.lang.c Subject: Re: break, et cetera [long, but you can stop early] Message-ID: <788@umd5.UUCP> Date: Fri, 22-Nov-85 02:29:09 EST Article-I.D.: umd5.788 Posted: Fri Nov 22 02:29:09 1985 Date-Received: Sat, 23-Nov-85 10:57:35 EST References: <771@whuxl.UUCP> <9500030@iuvax.UUCP> <2246@umcp-cs.UUCP> <285@3comvax.UUCP> Reply-To: zben@umd5.UUCP (Ben Cranston) Organization: U of Md, CSC, College Park, Md Lines: 26 Summary: (:-) In article <285@3comvax.UUCP> mikes@3comvax.UUCP (Mike Shannon) writes: >Chris Torek in the cited article: >> I personally might even use a `Knuth-style goto', depending on >> the situation: >> >> for (i = 0; i < HIGH; i++) >> if (array[i] == X) >> goto found; > How about some background on 'Knuth-stype goto's? I've run across >this style before, where there is some sort of descriptive label every >5 or 6 lines. And lots of goto's. > Does Knuth like these? Do you like these? What could recommend >this style to anyone? I can't say I like it very much. > Michael Shannon {ihnp4,hplabs}!oliveb!3comvax!mikes No, no, stop! DON'T tell them about GOTOs until they have demonstrated that they have decisively broken the "more is better" syndrome! Or else it's going to be spaghetti time again. Ya know, I think I read a science fiction story once with this same plot. Or was it calculators? ... :-) -- Ben Cranston ...{seismo!umcp-cs,ihnp4!rlgvax}!cvl!umd5!zben zben@umd2.ARPA