forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Executing time - How to improve your code's speed?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous
View previous topic :: View next topic  
Author Message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Sun Jun 05, 2005 5:00 pm    Post subject: Reply with quote

Skit,
It just takes time to find the coding style that best for you. Everyone finds their way if they stick with it. If your writting code that others will re-use it becomes very important to keep with the book and keep commenting. Some people go overboard. People that are new to programming tend to either over comment or under comment. You learn moderation as you go. There is no need to comment on what is already in the manual of the language. You should comment on code that is unique to your program that cannot be found in the manual or help file.
Also 'white space' is very important for easy of reading. You should space out your lines and use indentation when you nest code inside of conditionals and loops. It's just to make it easier for you and others to read.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group