Actions
Task #2614
opencode-style: line width
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)
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
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.
Updated by Junxiao Shi over 9 years ago
Reply to note-2:
This change is necessary to establish the hard limit of 130 columns.
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)?
Updated by Alex Afanasyev almost 9 years ago
- Target version changed from v0.4 to v0.5
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