Re: [HACKERS] Source code format vote

Поиск
Список
Период
Сортировка
От J. Roeleveld
Тема Re: [HACKERS] Source code format vote
Дата
Msg-id 008801bf529d$d54d0180$8402a8c0@sentec.demon.nl
обсуждение исходный текст
Ответ на Source code format vote  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [HACKERS] Source code format vote  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
> > Current votes are:
> >
> > (8)     8-space tabs:   Tom Lane, Peter E., Massimo, Jan, Hiroshi, Peter
M.,
> >                         Michael, Tatsuo
> > (5)     4-space tabs:   Bruce, Andreas, Vince, Vadim, D'Arcy
> >
> >
> >         open bracket on if () line:
> > (7)     yes:    Massimo, Peter, Vince, Tom Lane, Peter M., Marc, Tatsuo
> > (6)     no:     Bruce, Vadim, D'Arcy, Jan, Hiroshi, Michael M.
> >
> > Looks like radical change will come to our source code format for 7.0.
> >
> > Unless someone else speaks up, I will consider this vote closed.  I will
> > modify pgindent to reflect this format the next time it is run.
>
> Don't know if I qualify to vote - but if I do then I vote for 4-space tabs
> (seeing that I often read the code - now if only two-space tabs
> were an option...)

Same here, I prefer 4-space tabs as well, looks much better on standard
screens.
Also I personally prefer the open bracket not to be placed in the if() line.

But I'm not sure if I qualify to vote either, although I do read the code.

Joost Roeleveld



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Theo Kramer
Дата:
Сообщение: Re: [HACKERS] Source code format vote
Следующее
От: "Ansley, Michael"
Дата:
Сообщение: RE: [HACKERS] Source code format vote