cvs commit: src/sys/dev/ed if_ed.c

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Feb 11 11:37:16 GMT 2005


In message <20050211220212.A32327 at delplex.bde.org>, Bruce Evans writes:

>> : 	while (complicated-expr)
>> : 		;

Look, programming is the art of expressing intent as best as 
possible.  The single semicolon variant is very clear from
a compiler point of view, but it is not clear from a human
point of view.

I always use the continue variant because I feel it expresses
intent better for two reasons:

The visual impact of a word is much bigger than that of a single
lightweight character.

Writing "continue" dispells any doubt if I did it intentionally.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the cvs-src mailing list