Re: A small rant about coding style for backend functions

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: Brendan Jurd <direvus(at)gmail(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: A small rant about coding style for backend functions
Date: 2007-11-07 19:05:15
Message-ID: 20071107190515.GF21788@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gregory Stark wrote:
>
> "Brendan Jurd" <direvus(at)gmail(dot)com> writes:
>
> > They are clear, useful and easy to understand.
> >
> > [1] http://www.python.org/dev/peps/pep-0007/
> > [2] http://www.python.org/dev/peps/pep-0008/
>
> I didn't look at the second but the first at least is a good example of a
> style guide which is *not* useful. It's dominated by discussions of
> white-space and other formatting issues.

Actually it is excellent guide because we use most of the same rules.

(PEP 8 is about code style for code written in Python)

--
Alvaro Herrera http://www.advogato.org/person/alvherre
"I'm always right, but sometimes I'm more right than other times."
(Linus Torvalds)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Smith 2007-11-07 19:13:43 Re: Test lab
Previous Message Alvaro Herrera 2007-11-07 18:56:02 Re: Weird type selection choice