[OpenAFS-devel] coding standards proposal
Nickolai Zeldovich
kolya@MIT.EDU
Wed, 22 Jan 2003 22:34:00 -0500
Nathan Neulinger wrote:
> I guess the important question is - what do most of the people who are
> editing the code use for their editors tab size? 8+8 is probably the
> most compatible. But I can live with setting editor back to tabstop=8.
My concern is that the default tab width, as displayed by most
terminals/terminal emulators, is 8 characters. If you just do
"more src/afs/afs_vcache.c", or cat, you end up with code that
doesn't look right (if we use -ts4). I don't think we should
use -i8/-ts8, because deeply-nested loops become very difficult
to read, squished on the right side (we even get some of this
with the current indentation, which is something like -i4).
-- kolya