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

From Adriaan Joubert
Subject Re: [HACKERS] Source code format vote
Date
Msg-id 386B3133.C3231AFA@albourne.com
Whole thread Raw
In response to RE: [HACKERS] Source code format vote  ("Ansley, Michael" <Michael.Ansley@intec.co.za>)
List pgsql-hackers
"Ansley, Michael" wrote:

> Word is...
>
> Tabs are 8 spaces; not 4, not 2: if your function runs off the end of the
> page (screen), sh*t function...

Yep, I agree. No point in trying to change the standard size of a tab (i.e.
8 spaces). How you indent your C-code is a different matter: it is possible
to indent C-code with spaces instead of tabs ;-). But don't go and change
standards.

I prefer indentation that is not too large so that you can see a whole
function, but couldn't care less whether it is 2 or 4 spaces.

And no, I definitely don't qualify to vote, but had to butt in anyway....



pgsql-hackers by date:

Previous
From: "Ansley, Michael"
Date:
Subject: RE: [HACKERS] Source code format vote
Next
From: Theo Kramer
Date:
Subject: Re: [HACKERS] Source code format vote