i18n: only extract comments marked with "TRANSLATORS:"
[gitweb.git] / Documentation / CodingGuidelines
index b99fa87f6853775c6c021de2fab1c320e5175561..dab5c61bfe4649e603e986d008c66b410038050b 100644 (file)
@@ -126,6 +126,17 @@ For C programs:
    "char * string".  This makes it easier to understand code
    like "char *string, c;".
 
+ - Use whitespace around operators and keywords, but not inside
+   parentheses and not around functions. So:
+
+        while (condition)
+               func(bar + 1);
+
+   and not:
+
+        while( condition )
+               func (bar+1);
+
  - We avoid using braces unnecessarily.  I.e.
 
        if (bla) {