Closed Bug 988736 Opened 6 years ago Closed 4 years ago

add the informal "wrap lines longer than 80 characters" to the perl style guide

Categories

(Bugzilla :: bugzilla.org, defect)

x86
macOS
defect
Not set

Tracking

()

RESOLVED WONTFIX

People

(Reporter: glob, Unassigned)

References

()

Details

for as long as i can remember there's been an informal rule that perl code should be wrapped around 80 characters long.

this isn't documented anywhere, which means it isn't actually a policy.

i propose adding the following to our perl style guide section:

"Line Length - You shouldn't extend lines past 80 characters if possible, and must not exceed 100 characters".


i'm keen to avoid opening up a debate about if this rule is a good one or not; the point of this bug is to just formalise the current rule to help new contributors and reviewers.
bugzilla should follow PBP without exception -- specifically whatever perltidy -pbp does. This includes 80 column lines.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.