Raised This Month: $ Target: $400
 0% 

Whats the advantage of doing this?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-30-2009 , 14:48   Re: Whats the advantage of doing this?
Reply With Quote #2

Only that, there is no advantage.

But if you have a lot of code, grouping in functions, I see 2 advantages :

- More readable. You have a main function, then subfonctions grouped intelligently. You can understand better and have a better view what does the main function. ( Too many subfunctions could do the opposite effect )
- More easy to debug. In case of bugs, you will find more fastly the problem if you need to debug the main function since you can debug each subfunctions.
__________________
Arkshine is offline
 



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 04:05.


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