libxl: CODING_STYLE: Clarify line length limit to 75

And give a reason.

The previous `limit' of 75-80 was ambiguous.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
CC: Anthony PERARD <anthony.perard@citrix.com>
This commit is contained in:
Ian Jackson committed 2018-10-30 17:03:23 +00:00
1 parent f993c3e907
commit a23744e9ee
1 file changed
+3 -1
+3 -1
View File
@@ -220,12 +220,14 @@ Do not leave whitespace dangling off the ends of lines.
2. Line width
Lines are limited to 75-80 characters.
Lines are limited to 75 characters.
Rationale:
- Some people like to tile their 24" screens with a 6x4 matrix of 80x24
xterms and use vi in all of them. The best way to punish them is to
let them keep doing it.
- In an 80 column terminal, some room needs to be left for > quoting
characters, +/- diff characters, and so on, in emails.
- Code and especially patches is much more readable if limited to a sane
line length. Eighty is traditional.
- It is the libxenlight coding style.
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.