From 99eeabe5605099cfc80a71f7924e27662ca96fbc Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Tue, 21 Feb 2012 12:51:21 -0500 Subject: cleaned the crap out of the formatting, added some basic code rules --- README | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'README') 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; +} + -- cgit v1.2.3