Re: pgindent completed - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: pgindent completed
Date
Msg-id 200103221514.KAA16323@candle.pha.pa.us
Whole thread Raw
In response to Re: pgindent completed  (Karel Zak <zakkr@zf.jcu.cz>)
List pgsql-hackers
> 
> On Thu, Mar 22, 2001 at 01:25:07AM -0500, Bruce Momjian wrote:
> > I have finished pgindent.  We also had many old comments of the format:
> > 
> >     /* ------
> >          * comment
> >          * ------
> >          */
> > 
> > These are now the more concise:
> > 
> >     /*
> >          * comment
> >          */
> 
>  Hmm, intereting. What is bad on the "old" format? IMHO it's more synoptical
> for example before function, where a comment must be good visible for fast
> file browsing. Inside functions I agree with more brief version. 
> 
>  I have macro for this in my editor, update it? :-)

These were all hand-modified.  Having comments before functions was not
touched, only such comments in functions, and only where you didn't want
a heavy comment and there was no indenting that needed preserving.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pgindent run?
Next
From: Thomas Lockhart
Date:
Subject: Re: Re: Call for platforms