Re: [HACKERS] Source code format vote

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: [HACKERS] Source code format vote
Дата
Msg-id 38712A22.6C9F711B@tm.ee
обсуждение исходный текст
Ответ на Re: [HACKERS] Source code format vote  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> 
> Thomas Lockhart <lockhart@alumni.caltech.edu> writes:
> > Was "spaces instead of tabs" one of the voted-on options? That would
> > make the tab issue moot, and would result in consistant appearance not
> > matter what tab setting one is using.
> 
> Quite a good thought, actually.  It'd be worth checking to see if there
> is any material expansion in the source's disk footprint and/or the
> size of a compressed tarball after getting rid of tabs entirely.
> I'd be willing to vote for this if the space penalty is not large...

Me too!

And, there already is an utility to entab/detab in tools section, so people
can use it if they absolutely must have tabs in their source.

AFAIK most decent editors also can [en/de]tab the source they are editing.

So my vote would be 4-space indents, no tabs

--------------
Hannu


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: [HACKERS] Inprise/Borland releasing Interbase as Open source
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: [HACKERS] Source code format vote