Re: Coding standards

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Coding standards
Дата
Msg-id 20080418092643.51899034@mha-laptop
обсуждение исходный текст
Ответ на Coding standards  (Bryce Nesbitt <bryce2@obviously.com>)
Список pgsql-patches
Bryce Nesbitt wrote:
> Alvaro Herrera wrote:
> > People [are] complaining here that we don't teach people here
> > anyway, so hopefully my comments were still useful :-)
> >
> Yes they are useful.  As a new patcher, where should I look for
> coding standards?  How about a little FAQ at the
> top of the CVS source tree?
>
> Though, darn it, I sure like //
>
> And my vi is set to:
>   set sw=4
>   set ts=4
>   set expandtab
> Because my corporate projects require spaces not tabs.

See the developer FAQ on the website. IIRC, it even contains what you
should put in your vi config file to make it do the right thing...

//Magnus

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

Предыдущее
От: Bryce Nesbitt
Дата:
Сообщение: Re: Proposed patch - psql wraps at window width
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Proposed patch - psql wraps at window width