Path: utzoo!mnetor!uunet!ncc!alberta!att-ih!ttrdc!levy From: levy@ttrdc.UUCP (Daniel R. Levy) Newsgroups: comp.lang.c Subject: Re: gotos Message-ID: <2556@ttrdc.UUCP> Date: 7 Apr 88 22:31:30 GMT References: <2571@cognos.UUCP> <77200029@uiucdcsp> <4307@ihlpf.ATT.COM> Organization: AT&T, Skokie, IL Lines: 45 Summary: chestnut In article <4307@ihlpf.ATT.COM>, nevin1@ihlpf.ATT.COM (00704a-Liber) writes: > In article <1988Apr5.213343.1528@utzoo.uucp> henry@utzoo.uucp (Henry Spencer) writes: > > >And once in a long while, there is no better way. A loooong while. > > Agreed. Although I feel that most of the uses of GOTO in C these days > occurs in the output of something like LEX and YACC, where I really don't > mind it. Just as long as 'mere mortals' try to avoid using it. I know this battle is an old chestnut, but for the record do you guys believe that superfluous flags and great big if-then statements are truly superior to the goto? (And the break, which is a goto by another name.) E.g.: while (loopcond) { for (i=0; i}!ttrdc!ttrda!levy | AT&T Data Systems Group | Disclaimer? Huh? What disclaimer??? |--------Skokie, Illinois--------|