Changes between Version 30 and Version 31 of Development/CodeConventions


Ignore:
Timestamp:
Dec 2, 2012, 11:50:29 AM (7 years ago)
Author:
benl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Development/CodeConventions

    v30 v31  
    1010
    1111=== Spacing ===
    12  * Tabs are 8 spaces. The reason being that when you `cat` a text file to a unix console they come out as 8 spaces. Keep your editor set to tabs-as-8-spaces or you'll end up committing misaligned code. No further discussion will be entered into on this point.
     12 * Tabs are 8 spaces. The reason being that when you `cat` a text file to a unix console they come out as 8 spaces. Keep your editor set to tabs-as-8-spaces or you'll end up committing misaligned code.
    1313
    14  * If your editor supports it, use 'soft-tabs', so that it inserts 8 spaces when you press the tab key.
     14 * Corollary to the above: don't use tabs. Keep your editor set to 'soft-tabs' mode so that when you press the tab key it inserts 8 spaces.
    1515
    1616=== Comments ===