Thread: Coding style.
View Single Post
  #20 (permalink)  
Old 06-20-2008, 05:21 PM
Aereshaa's Avatar   
Aereshaa Aereshaa is offline
Guru
 
Join Date: Apr 2008
Posts: 585
Last Blog:
I don't like the word ...
Credits: 0
Rep Power: 9
Aereshaa is just really niceAereshaa is just really niceAereshaa is just really niceAereshaa is just really nice
Default Re: Coding style.

I never got taught programming in school; I just read books, and online guides, and man pages.
My programming style is basically this:

Code:
int main (int argc, char ** argv){
    /*stuff*/ 
    exit(0);
}
In other words, for every { indent four spaces more, for every } indent four spaces less.
In other languages, I use similar rules.
Reply With Quote

Sponsored Links