Fulton Browne

Style

There are many, many ways to style a program. ALWAYS use the same style through out a program

Never do this:

void
x (int y, long z)
{
	blah(x);
	bleeb(z);
}
void a (int b, int c, short d){
	stuff(b, c);
	things(d);
}
void 
main
(void)
{
	if(h)
		a();
	else{
		return -1;
	}

each style is fine, but the style's are mixed. NEVER MIX STYLES.

I mostly use pike style mostly because it's the style most used in The Practice of Programming By Rob Pike and Brian W. Kernighan.