diff options
author | Calvin Morrison <mutantturke@gmail.com> | 2012-02-21 12:51:21 -0500 |
---|---|---|
committer | Calvin Morrison <mutantturke@gmail.com> | 2012-02-21 12:51:21 -0500 |
commit | 99eeabe5605099cfc80a71f7924e27662ca96fbc (patch) | |
tree | 331dbbf7e0d68896c0ca7bb5b1520f94c5a6b134 /README | |
parent | b69fdc25af59f23a4219f94e645370dc00dd6d74 (diff) |
cleaned the crap out of the formatting, added some basic code rules
Diffstat (limited to 'README')
-rw-r--r-- | README | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -37,3 +37,24 @@ Please Note: You will need dmenu with the vertical tiling patch, wget, xterm and sponge to use sb with its default configuration, you of course can use different programs if you want to. Swing me some electronic mail MutantTurkey@gmail.com + +Coding Guidelines: + +Use 2 spaces for each level +statements open bracket should be on the same line as the statement +the close bracket should be on the same level of the statement +all declared variabls shall have 1 line of whitespace after the function head, and then after another line + +Example + +function (char *foo, int bar) { + + int cake = 1; + + if( int == cake ) { + puts(foo); + } + +return TRUE; +} + |