Re: one line comment style - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: one line comment style
Date
Msg-id 200910092152.n99Lq7B27399@momjian.us
Whole thread Raw
In response to one line comment style  (Dan Colish <dan@unencrypted.org>)
List 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 by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Unicode UTF-8 table formatting for psql text output
Next
From: Bruce Momjian
Date:
Subject: Re: Idle connection timeout