Ticket #1864 (new RFC)
[RFC] Change coding standard to avoid 2 space outdent.
| Reported by: | bacek | Owned by: | jkeenan |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.11 |
| Component: | coding_standards | Version: | 2.10.0 |
| Severity: | medium | Keywords: | |
| Cc: | cotto, whiteknight | Language: | |
| Patch status: | Platform: |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.
