Path: utzoo!utgpu!watserv1!watmath!att!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!mit-eddie!bloom-beacon!daemon From: scs@adam.mit.edu (Steve Summit) Newsgroups: comp.lang.c Subject: Re: meaning of continue (WAS: Some interesting novice questions [... Message-ID: <1990Oct30.005302.15221@athena.mit.edu> Date: 30 Oct 90 00:53:02 GMT References: <6065@raksha.eng.ohio-state.edu> <6ecTR1w161w@phoenix.com> Sender: daemon@athena.mit.edu (Mr Background) Reply-To: scs@adam.mit.edu (Steve Summit) Organization: Thermal Technologies, Inc. Lines: 33 In article <6ecTR1w161w@phoenix.com> stanley@phoenix.com (John Stanley) climbs up even higher onto his soapbox and rails against misleading anthropomorphization, computer illiteracy, and the general decline of Western society. (In fact, I don't disagree with anything he said, but feel that, in the current context, it is quite misdirected.) May I remind the participants in this increasingly vitriolic and picky debate that it was spawned by Rahul Dhesi's musings on the stylistic appropriateness of a particular empty loop body? I very seriously doubt that Rahul, or anybody else here, has any misunderstandings about what while(*p++ != '\0') continue; does (i.e. means to the compiler). At issue was merely what it might mean to the casual, human reader, and whether while(*p++ != '\0') or while(*p++ != '\0') ; {} might be clearer. (Not "more correct," just clearer.) As we should all know by now, these discussions on program layout (which frequently masquerade under the subject "style," which is unfortunate, because programming style is far more important than mere layout) frequently turn into religious battles. Shall we discuss brace placement for a while :-) ? (Footnote for the terminally clueless: the :-) means that I am being sarcastic here and shall be very upset if someone responds to this suggestion.) Steve Summit scs@adam.mit.edu