Comment Everything. Begin every section with comments that begin with commenting slashes "//" at the beginning of every module or the end of each module significant ending point of functions and modules. For multiple line comments you want to begin and end with "/*" and "*/". Each programming language will have its own syntax rules about what character you use prior to inserting comments into the code.
Consistently choose meaningful variable names. For example, name a color variable "colorBlue" and not something like "color1" etc... The first choice reads better and tells other programmers what the variable means and what its purpose is.
Keep naming conventions consistent. Decide what naming conventions you will use and stick to it throughout the entire program. For example, name your variables using all lowercase then uppercase with each additional word or start all variables with uppercase. Sometimes the languages you choose will determine the casing rules for you.
No matter what kind of project you work on, keep in mind if stay consistent on your comment practices, variable and naming conventions it will keep your code as self-documenting as possible. It will also be easier to read and to maintain over the long haul.
Published by H. Gal
H. Gal specializes in helping individuals and businesses get done what needs to be done now at prices they can afford. She has been writing for over 15 years for both online and offline publications and hold... View profile
- Where to Find Thanksgiving MySpace CommentsThe best site to find Thanksgiving MySpace Comments
- Top 7 High Quality MySpace Christmas Comments WebsitesIf you are looking for quality MySpace Christmas comments, look no further. I have scoured the Internet searching for the best sites to visit for your comment needs. Whether you are looking for traditional, naughty an...
- Where to Find Christmas MySpace CommentsChristmas MySpace Comments
Top Baby Name WebsitesIf you are pregnant and trying to pick a name for your child, then you may be searching the internet for ideas. The volume of websites can be overwhelming. Here are some websi...- More Consistent Ezines: The Secret Is PlanningA consistent ezine, one that is published on a regular schedule, builds better relationships with your clients and prospects than one that is not consistent. Plan your issues months ahead of time and maintain consiste...
- Inserting Images in MySpace Comments
- SOME INTERESTING THINGS in the H. R. 3590 HEALTH REFORM BILL
- Records and Intellectual Control: Business Information Considerations in a Digital...
- What is Code Obfuscation?
- A Computer Science Degree Does Not Imply a Career Path
- Character Creation in Fantasy Novel Writing: Naming Characters
- Christmas Myspace Comments




