_continue_ as NOP

Scott Amspoker scott at bbxsda.UUCP
Thu Feb 28 01:51:10 AEST 1991


In article <1991Feb22.181921.21478 at inferno.peri.com> shane at inferno.peri.com (Shane Bouslough) writes:
>I have seen _continue_ used to make the NOP semi-colon a
>little less invisible:
>
>	while ( actual work happens in here )
>		continue;

Hmmmmm.  I like it.  Personally I usually use empty braces:

        while ( somethingoranother )
            {}

They tend to stand out more and look less like a mistake than a ';'.

-- 
Scott Amspoker                       | Touch the peripheral convex of every
Basis International, Albuquerque, NM | kind, then various kinds of blaming
(505) 345-5232                       | sound can be sent forth.
unmvax.cs.unm.edu!bbx!bbxsda!scott   |    - Instructions for a little box that
                                     |      blurts out obscenities.



More information about the Comp.lang.c mailing list