Skip to content

Commit

Permalink
A word about spacing rules
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Oct 20, 2016
1 parent bb66899 commit 8fb0565
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions source/codingstandards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ Indentation
// level 1
// base level
Spacing
-------

We've adopted "french spacing" rules in the code. The rule is:

* for *simple* punctuation (``,``, ``.``): use *one space after* the punctuation sign;
* for *double* punctuation (``!``, ``?``, ``:``): use *one space after and one space before* the punctuation sign.

Of course, this rules only aplies on the source code, not on the strings (translatable strings, comments, ...)!

Control structures
------------------
Expand Down

0 comments on commit 8fb0565

Please sign in to comment.