[Gllug] vi indenting

Alain Williams addw at phcomp.co.uk
Wed Dec 19 12:42:28 UTC 2001


On Wed, Dec 19, 2001 at 12:01:30PM +0000, Pete Ryland wrote:
> On Wed, Dec 19, 2001 at 11:02:43AM +0000, Alex Hudson wrote:
> > On Wed, 2001-12-19 at 09:48, tet at accucard.com wrote:
> > > texts, then sure, indent with spaces, but I've yet to see a single
> > > valid argument (including jwz's) for indenting code with anything
> > > but tabs. 
> > 
> > I agree 100%. Anyone using anything to indent other than tabs should be
> > shot. Space signifies separation, tabs signify layout. You can move
> > tabs. Tabs are fantastic.
> > 
> > People who use two spaces _and_ don't cuddle braces are the worst kind
> > and produce the most unreadable, messy code. That's not opinion, that's
> > fact*, you write better code when you use tabs (i.e., ASCII#9, not the
> > tab button to issues sequences of spaces).
> 
> ok, if we're all having a vote, then this seven-year vim veteran is a
> two-space brace cuddler. :)
> 
> I think that makes 3 for the hard tabbers, and 2 for the softies.

I remember at a LUUG about 15 years ago: Dave Tilbrook asked those present to
show how they would code (in C) a simple if/then/else.

AFIR there were 14 of us, we came up with 13 different ways of doing it and
each of us was convinced that the way that we did it was 'the one true style'.

I still think that all of the others were wrong :-)

-- 
Alain Williams

#include <std_disclaimer.h>

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list