braces

utzoo!decvax!harpo!zeppo!whuxk!houxm!houxa!houxi!houxj!wapd utzoo!decvax!harpo!zeppo!whuxk!houxm!houxa!houxi!houxj!wapd
Mon Nov 1 14:20:19 AEST 1982


	I favor the style :

func(args)
int args
{
int i

if (cond)
	{
	i=...
	j=...
	}
while (khk)
	{
	i=...
	k=...
	}
}

	and so on.  Everything at the same level is at the same
indentation, separation of control part (if, while, for, etc) and
body (from { to }) and so on.

	Just thought I'd add my 2 cents.
		
					Bill Dietrich
					houxj!wapd



More information about the Comp.lang.c mailing list