Project

General

Profile

Actions

Task #2614

open

code-style: line width

Added by Junxiao Shi over 9 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Docs
Target version:
-
Start date:
Due date:
% Done:

90%

Estimated time:
0.50 h

Description

Amend rule 1.1 to set line width limit as follows:

  • generally within 100 columns
  • can exceed 100 columns if it improves readability
  • must not exceed 130 columns (hard limit)
Actions #1

Updated by Spyros Mastorakis over 9 years ago

  • Status changed from New to Code review
  • Assignee set to Spyros Mastorakis
  • % Done changed from 0 to 90
Actions #2

Updated by Alex Afanasyev over 9 years ago

I will not approve this change. The current text says pretty much what it needs to say: "lines longer 100 should be generally avoided". Any exception to that is developer's choice.

Actions #3

Updated by Junxiao Shi over 9 years ago

Reply to note-2:

This change is necessary to establish the hard limit of 130 columns.

Actions #4

Updated by Junxiao Shi over 9 years ago

Any exception to that is developer's choice.

Does this mean, from now on, I can choose to use 500-column lines (if it does not violate rule 3.14)?

Actions #5

Updated by Alex Afanasyev almost 9 years ago

  • Target version changed from v0.4 to v0.5
Actions #6

Updated by Junxiao Shi over 8 years ago

  • Status changed from Code review to New
  • Assignee deleted (Spyros Mastorakis)

Since 20160307, two exceptions to the 130-column hard limit are approved:

  • single literal string
  • single URI
Actions #7

Updated by Davide Pesavento almost 7 years ago

  • Target version deleted (v0.5)
Actions

Also available in: Atom PDF