Extremely long lines are a pain in diff-views (gerrit, github, ...),
and a problem for readability. The specific number doesn't matter,
as long as it reasonable. Most of us are just ignoring 80 so that
is useless as guideline.
Change-Id: I5dbced451b56bc307beea2aec7599b8764f978cd
|Gromacs| code (C/C++):
* Basic indentation is four spaces.
-* Keep lines at a reasonable length. There is no hard limit, but use 80
- characters as a guideline. If you end up indenting very deeply,
- consider splitting the code into functions.
+* Keep lines at a reasonable length. Keep every line at least below 120
+ characters. If you end up indenting very deeply, consider splitting the code
+ into functions.
* Do not use tabs, only spaces. Most editors can be configured to generate
spaces even when pressing tab. Tabs (in particular when mixed with spaces)
easily break indentation in contexts where settings are not exactly equal