From: Lennart Poettering Date: Wed, 22 Apr 2015 18:25:06 +0000 (+0200) Subject: CODING_STYLE: document that we prefer /* comments */ over // comments X-Git-Tag: v220~339 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2708526c4ade0473b95f6c93d21f6d516b89a924;p=thirdparty%2Fsystemd.git CODING_STYLE: document that we prefer /* comments */ over // comments --- diff --git a/CODING_STYLE b/CODING_STYLE index a295ca77f25..70f45bebb15 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.