From 2708526c4ade0473b95f6c93d21f6d516b89a924 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 22 Apr 2015 20:25:06 +0200 Subject: CODING_STYLE: document that we prefer /* comments */ over // comments --- CODING_STYLE | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CODING_STYLE') 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. -- cgit v1.2.3-54-g00ecf