On 2005-07-17 10:04:27 -0400, John Peacock wrote:
> Robin Bowes wrote:
> >>>(any chance we can settle on 4 space indents instead of 2? Two  
> >>>spaces hurts my eyes...)
> >>
> >>
> >>
> >>I vastly prefer 2 spaces.  :-)
> >
> >
> >+1 (takes up less width)

-1. I find 4 spaces more readable.

> The only caveat with using 2 spaces is that we are less able to visually 
> distinguish continuation lines from indent levels.

I usually start continuation lines below the matching element in the
line above, so they are usually indented more than 2 or 4 spaces, like
this:

    $foo = Foo::Bar->gazonk(a - long,
                            line /
                            (with - many),
                            arguments);

> I'd rather have 4 spaces as well for exactly that reason.

Another way would be to use tabs for indent levels and additional spaces
for continuation lines. That way everybody can set the indentation to
whatever depth they like. The downside is that this requires people to
be disciplined about distinguishing between these cases and they need to
use an editor which doesn't mess with tabs.

> Perhaps we should run both on one 
> file (Qpsmtpd.pm perhaps) and have a usability vote?

Good idea.

        hp

-- 
   _  | Peter J. Holzer    | Ich sehe nun ein, dass Computer wenig
|_|_) | Sysadmin WSR       | geeignet sind, um sich was zu merken.
| |   | [EMAIL PROTECTED]         |
__/   | http://www.hjp.at/ |    -- Holger Lembke in dan-am

Attachment: pgp4iynibv2fC.pgp
Description: PGP signature

Reply via email to