Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: _continue_ as NOP Message-ID: <15343@smoke.brl.mil> Date: 27 Feb 91 20:35:12 GMT References: <1991Feb22.181921.21478@inferno.peri.com> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 16 In article <1991Feb22.181921.21478@inferno.peri.com> shane@inferno.peri.com (Shane Bouslough) writes: >Consider the following single statement while loop: > while ( actual work happens in here ) > ; >I have seen _continue_ used to make the NOP semi-colon a >little less invisible: > while ( actual work happens in here ) > continue; This is merely a matter of style, so I hope it doesn't generate lots of argument. Every competent C programmer should be expected to be able to deal with either form when encountered. I personally use the former method, which strikes me as sufficiently visible and clear. I do NOT like usage such as while (condition); where the controlled statement is practically obscured by the format.