Subject: Re: Time to update KNF?
To: None <>
From: Thor Lancelot Simon <>
List: tech-kern
Date: 01/19/2000 12:51:53
On Wed, Jan 19, 2000 at 09:15:14AM -0800, Mike Cheponis wrote:
> > That said, I prefer to get as much out of the 80 columns as possible,
> > and use the frowned-upon 2 space indenting :)  Not to indent more
> > levels...
> Eventually, I hope we can dispense with 80 characters (like the Windows
> world has already done) but for all the reasons mentioned here, I'm not
> advocating changing that.
> -----
> As to 2-4 vs 8 spaces, I trudged over to Stanford yesterday and dug up the
> original 7-page article by Prof. Shneiderman and students Miara, Musselman,
> and Navarro from the University of Maryland.

[very interesting study fragment snipped]

I'm strongly opposed to adjusting KNF for *existing* source files to any
other indentation convention than the current one, because of the
consequent difficulty of generating/applying sane diffs/patches.

On the other hand, I've always been partial to 4-space indentation -- it
is a nice compromise between the density of 2-space indentation and the
legibility of 8-space indentation, and allows one to be more flexible
with control flow without smashing up against the 80-column limit --
and I would be quite pleased to see KNF specify 4/2 indentation for *new*
source files.

Thor Lancelot Simon	                            
	"And where do all these highways go, now that we are free?"