C bites / programming style

Peter da Silva peter at graffiti.UUCP
Tue Sep 17 07:39:41 AEST 1985


> The curly braces { } have NOTHING to do with the if().
> Code formatting rules that pretend otherwise are misleading.

Who's pretending?

	if(...) shortstatement;

	if(...)
		longer statement...;

	if(...) {
		lots
		of
		statements
	}

It's only line-editor hacks who are hung up on a-line-is-a-statement
anyway. (dons asbestos suit for pretection from the wirthians).



More information about the Comp.lang.c mailing list