aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturke@gmail.com>2012-02-21 12:51:21 -0500
committerCalvin Morrison <mutantturke@gmail.com>2012-02-21 12:51:21 -0500
commit99eeabe5605099cfc80a71f7924e27662ca96fbc (patch)
tree331dbbf7e0d68896c0ca7bb5b1520f94c5a6b134 /README
parentb69fdc25af59f23a4219f94e645370dc00dd6d74 (diff)
cleaned the crap out of the formatting, added some basic code rules
Diffstat (limited to 'README')
-rw-r--r--README21
1 files changed, 21 insertions, 0 deletions
diff --git a/README b/README
index 9bde93e..90d9c81 100644
--- a/README
+++ b/README
@@ -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;
+}
+