petdance/scratch — Issue #353: [RFC] Change coding standard to avoid 2 space outdent.
Author: petdance
Created: 2011-11-01 05:42:07+00:00
State: open
Labels: coding_standards, Pri-normal, rfc, Sev-medium

Hello.
Current coding standard requires 2 space indent on switch/case indent. I would like to propose to change it to 4 space and close #1547 as "wontfix".

Basically I speak about this patch:
{{{
diff --git a/docs/pdds/pdd07_codingstd.pod b/docs/pdds/pdd07_codingstd.pod
index 8741a1b..52dc866 100644
--- a/docs/pdds/pdd07_codingstd.pod
+++ b/docs/pdds/pdd07_codingstd.pod
@@ -110,11 +110,6 @@ the level of indenting to increase.

=item *

-Labels (including case labels) must be outdented two columns relative to the
-code they label.
-
-=item *
-
Closing braces for control structures must line up vertically with the
start of the control structures; e.g. C<}> that closes an C must
line up with the C.
}}}

Or at least change "including" to "excluding".

--
Bacek

Originally http://trac.parrot.org/parrot/ticket/1864