Re: one line comment style

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: one line comment style
Дата
Msg-id 200910092152.n99Lq7B27399@momjian.us
обсуждение исходный текст
Ответ на one line comment style  (Dan Colish <dan@unencrypted.org>)
Список pgsql-hackers
Dan Colish wrote:
> I'm going through a few files and trying to clean them up for style mostly and a
> bit of refactoring. I am curious about the preferred style for a one line
> comment. I see them in both of these forms and I would like to keep it
> consistent.
> 
> /* a one line comment */
> 
> or
> 
> /*
>  * a one line comment
>  */

I use single-line of I just want to comment the next line, and
multi-line if I want to comment on the next block of lines, e.g a
section comment.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Unicode UTF-8 table formatting for psql text output
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Idle connection timeout