[net.lang.c] brace styles

npl@whuxlb.UUCP (Nick Landsberg) (07/26/83)

As for me, I prefer the contest...

	control-stmnt (expr) {
		.......
	} [ cntrl-stmnt ] {
		......
	}

Why??.....
1. More code fragments on a 24 line screen.
2. the following in the editor whos me where I have
messed up...   g/[{}]/p
or, alternatively,     grep "[{}]" foo.c

being able to see "flow of control" with one command makes
debugging easy if you forget/add some curly braces.

Just one opinion...


				...!whuxlb!npl

P.S. This discussion was beaten to death months ago.
UPshot: bugger the "cb" command to do whatever you
want it to and stop beating a dead horse!