summaryrefslogtreecommitdiff
path: root/CODING_STYLE
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-04-22 20:25:06 +0200
committerLennart Poettering <lennart@poettering.net>2015-04-22 22:56:24 +0200
commit2708526c4ade0473b95f6c93d21f6d516b89a924 (patch)
tree0f340eb90ebe4639c95bc62ba4fc923fe64c224a /CODING_STYLE
parent58a26e1269619975ed2b8ea94b245c358cd1e29d (diff)
CODING_STYLE: document that we prefer /* comments */ over // comments
Diffstat (limited to 'CODING_STYLE')
-rw-r--r--CODING_STYLE4
1 files changed, 4 insertions, 0 deletions
diff --git a/CODING_STYLE b/CODING_STYLE
index a295ca77f2..70f45bebb1 100644
--- a/CODING_STYLE
+++ b/CODING_STYLE
@@ -1,6 +1,10 @@
- 8ch indent, no tabs, except for files in man/ which are 2ch indent,
and still no tabs
+- We prefer /* comments */ over // comments, please. This is not C++, after
+ all. (Yes we know that C99 supports both kinds of comments, but still,
+ please!)
+
- Don't break code lines too eagerly. We do *not* force line breaks at
80ch, all of today's screens should be much larger than that. But
then again, don't overdo it, ~140ch should be enough really.