mirror of
https://github.com/systemd/systemd.git
synced 2025-04-01 18:50:16 +03:00
CODING_STYLE: document that we prefer /* comments */ over // comments
This commit is contained in:
parent
58a26e1269
commit
2708526c4a
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user