Re: [HACKERS] Source code format vote

Поиск
Список
Период
Сортировка
От darcy@druid.net (D'Arcy J.M. Cain)
Тема Re: [HACKERS] Source code format vote
Дата
Msg-id m125JYd-000AUUC@druid.net
обсуждение исходный текст
Ответ на Re: [HACKERS] Source code format vote  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [HACKERS] Source code format vote  (The Hermit Hacker <scrappy@hub.org>)
Список 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 по дате отправления:

Предыдущее
От: Stephen Birch
Дата:
Сообщение: Re: [HACKERS] Inprise/Borland releasing Interbase as Open source
Следующее
От: darcy@druid.net (D'Arcy J.M. Cain)
Дата:
Сообщение: Re: [HACKERS] Source code format vote