Re: [HACKERS] Source code format vote - Mailing list pgsql-hackers

From darcy@druid.net (D'Arcy J.M. Cain)
Subject Re: [HACKERS] Source code format vote
Date
Msg-id m125JYd-000AUUC@druid.net
Whole thread Raw
In response to Re: [HACKERS] Source code format vote  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [HACKERS] Source code format vote
List pgsql-hackers
Thus spake Bruce Momjian
> I have to get all new votes from everyone on:
>     
>     8-space tabs
>     no tabs
> 
> Indentaion is still 4-spaces.
> 
> I prefer the 8-space tabs to no tabs.  Seems like 8-space tabs won over
> 4-space tabs, so we need a vote on 8-space tabs vs. no tabs.

Seems like multiple votes.  First vote is whether to use spaces or tabs
for indenting.  Then, how many characters should we indent if we use
tabs and if we don't.  Note that people may have different opinions
on how much to indent for each of these.  I suspect a number of people
choose 8 space tabs because it is standard and consistent on different
methods of output, not because they particularly like that much
indentation.  I know that I have lately been considering going to 3
space, no tab indenting in my own code so that it looks right whether
I use the editor, cat to the screen or print it.

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.


pgsql-hackers by date:

Previous
From: Stephen Birch
Date:
Subject: Re: [HACKERS] Inprise/Borland releasing Interbase as Open source
Next
From: darcy@druid.net (D'Arcy J.M. Cain)
Date:
Subject: Re: [HACKERS] Source code format vote