View Single Post
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 05-03-2010 , 00:18   Re: [TUT] Code Styling & Good Programming Habits
Reply With Quote #72

Quote:
Originally Posted by wrecked_ View Post
Most people don't put a space after if statements or functions. Alot of people (including myself) space like so:
Code:
if( condition( id ) == 3 ) {     do     {         this();     }     while( that() ); }
The reason I do that is to distinguish functions and keywords easily. It makes sense to me and I see no reason not to do it.

Quote:
Originally Posted by minimiller View Post
if the code compiles and works as it should, its good enough to be aproved
allthough thats not an excuse to fuck over your indents
in refrence to your 'spaces' question, its personal preference
Actually, if your style pisses me off enough, I'll generally go through your code and find some reason to unapprove it or at least hold it back.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552