[net.lang.c] C style - some ideas

kiessig (10/28/82)

	My preferance for braces is:

	if (expr) {
		whatever;
	}

	The reason being that context is important when working on
a program, and the fewer uneeded blank lines (I use blank lines more
as logical delimeters than anything else), the more I can get on the
screen when I'm in the editor.

	And for "null loops", I prefer:

	while (expr)
		{}

	This seems to stand out well, and isn't as annoying as
"continue;".

	And I have another one that hasn't been brought up.  In C,
"return" is NOT a function.  So the syntax "return(x);" seems to
me to be wrong.  I prefer "return x;".

Rick Kiessig
{sri-unix,megatest,randvax,dsd}!fortune!kiessig