Raised This Month: $101 Target: $400
 25% 

[TUT] Code Styling & Good Programming Habits


Post New Thread Reply   
 
Thread Tools Display Modes
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 05-02-2010 , 22:31   Re: [TUT] Code Styling & Good Programming Habits
Reply With Quote #71

Quote:
Originally Posted by Kreation View Post
But ) ) ) is much much sexier than ))). The first one is like a hot fat chick, and the second one is like a ugly fat chick.
I think fat chicks aren't hot in any way, they may be a little bigger, but not fat.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 05-03-2010 , 01: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
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 05-03-2010 , 07:20   Re: [TUT] Code Styling & Good Programming Habits
Reply With Quote #73

Quote:
Originally Posted by Hawk552 View Post
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.
Does my no spaced style piss you off?
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 05-03-2010 , 08:18   Re: [TUT] Code Styling & Good Programming Habits
Reply With Quote #74

Quote:
Originally Posted by Hawk552 View Post
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.
LOL
__________________
minimiller is offline
Send a message via MSN to minimiller
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 05-07-2010 , 16:43   Re: [TUT] Code Styling & Good Programming Habits
Reply With Quote #75

Also plugins sources are intended to help others understand and learn something from them. If the code compiles and works fine isn't mean that there is no better way to do it or make some improvements
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Old 10-16-2010, 16:44
aaronra100
This message has been deleted by Exolent[jNr]. Reason: Spambot
LOPAO
Senior Member
Join Date: Mar 2011
Old 04-14-2011 , 07:31   Re: [TUT] Code Styling & Good Programming Habits
Reply With Quote #76

Where i can learn the basic commands?
LOPAO is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 04-14-2011 , 16:05   Re: [TUT] Code Styling & Good Programming Habits
Reply With Quote #77

Quote:
Originally Posted by LOPAO View Post
Where i can learn the basic commands?
http://www.amxmodx.org/funcwiki.php?go=all_func
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
Quote:
Originally Posted by bash.org
<axle345> I mean seriosuly guys holocaust jokes aren't funny
<axle345> Anne Frankly, I won't stand for it.
wrecked_ is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 04-16-2011 , 14:47   Re: [TUT] Code Styling & Good Programming Habits
Reply With Quote #78

Quote:
Originally Posted by wrecked_ View Post
The funcwiki, IMO, is the single best resource you can have next to a ton of other people's scripts (as long as they're not written by OLO).
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 04-16-2011 , 23:04   Re: [TUT] Code Styling & Good Programming Habits
Reply With Quote #79

Quote:
Originally Posted by Hawk552 View Post
The funcwiki, IMO, is the single best resource you can have next to a ton of other people's scripts (as long as they're not written by OLO).
+1
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 04-17-2011 , 04:06   Re: [TUT] Code Styling & Good Programming Habits
Reply With Quote #80

Let's be honest, it could do with an update
__________________
minimiller is offline
Send a message via MSN to minimiller
Old 04-12-2012, 02:55
Francis0729
This message has been deleted by asherkin. Reason: Spam.
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:58.


Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode