#1864: [RFC] Change coding standard to avoid 2 space outdent.
--------------------+-------------------------------------------------------
Reporter: bacek | Owner:
Type: RFC | Status: new
Priority: normal | Milestone: 2.11
Component: none | Version: 2.10.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
--------------------+-------------------------------------------------------
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<if> must
line up with the C<if>.
}}}
Or at least change "including" to "excluding".
--
Bacek
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1864>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets