From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | "David E(dot) Wheeler" <david(at)kineticode(dot)com> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andy Lester <andy(at)petdance(dot)com>, David Fetter <david(at)fetter(dot)org>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Throw some low-level C scutwork at me |
Date: | 2009-05-01 17:38:38 |
Message-ID: | 49FB339E.2030602@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
David E. Wheeler wrote:
> On May 1, 2009, at 8:38 AM, Robert Haas wrote:
>
>> Speaking of space/tab settings, one thing I'm fuzzy on is the rule for
>> wrapping long lines. I understand that a line that extends past 80
>> characters has to be wrapped, but the amount of indentation on the
>> continuation line doesn't appear to follow a consistent pattern - or
>> does it?
>
> “Perl Best Practices” recommends an indentation of 4 spaces, both for
> block indentations and line continuations. Not sure what'd be best for
> C, though.
>
Please, let's not have a whole host of different indentation styles.
Postgres has a well established style. Let's stick to it in both perl and C.
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | David E. Wheeler | 2009-05-01 17:39:47 | Re: Throw some low-level C scutwork at me |
Previous Message | David E. Wheeler | 2009-05-01 17:32:45 | Re: Throw some low-level C scutwork at me |