Обсуждение: RE: [HACKERS] Source code format votest

Поиск
Список
Период
Сортировка

RE: [HACKERS] Source code format votest

От
Peter Mount
Дата:
Java's ok with them removed from 1 line statements, but perl requires
the brackets.

Peter

-----Original Message-----
From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
Sent: Friday, December 24, 1999 3:55 AM
To: D'Arcy J.M. Cain
Cc: vadim@krs.ru; pgsql-hackers@postgreSQL.org
Subject: Re: [HACKERS] Source code format votest


> Me for next line too.  It just seems so easy to see the blocks when
the
> brackets line up _and_ are on a line by themselves.

I agree, but many don't, hence the vote.

> 
> Was there a vote for brackets around 1 line statements?  If so I vote
no.

No one has mentioned that, and I have removed most of them.

> 
> > CC'ed to hackers list for all to see, so they don't think I am
making
> > this up.
> 
> No one would ever believe that of you, Bruce.

I want to make sure the voting remains unbiased, even though I am
tallying the votes.

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

************


Re: [HACKERS] Source code format votest

От
Bruce Momjian
Дата:
> Java's ok with them removed from 1 line statements, but perl requires
> the brackets.

As does tcl.  Fortunately, pgindent doesn't touch those files.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@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