Re: perltidy

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: perltidy
Date: 2010-04-19 16:02:07
Message-ID: 4BCC7E7F.80703@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Magnus Hagander wrote:
> The MSVC scripts currently have a "perltidy coding style" so we run
> perltidy with a specific set of arguments to format the code. (This is
> in the README). Kind of like pgindent.
>
> Should we be doing this on all the perlscripts we use?
>
> And if we do, we should obviously use the same one everywhere -
> probably just use the one we have for the msvc stuff today. Anything
> in particular about that one that people hate?
>
>

It's been debated in the past. My personal strong conviction (probably
fuelled in part by my severe dislike of K&R style indentation) is that
we should have a single style for block structured languages across the
project.

cheers

andrew

In response to

  • perltidy at 2010-04-19 15:02:10 from Magnus Hagander

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2010-04-19 16:05:39 Re: Standalone backends run StartupXLOG in an incorrect environment
Previous Message Tom Lane 2010-04-19 15:19:20 Re: Standalone backends run StartupXLOG in an incorrect environment