Guidelines in Brief
A general overview of all of the above:
- Know what the code block must perform
- Indicate a brief description of what a variable is for (reference to commenting)
- Correct errors as they occur.
- Keep your code simple
- Maintain naming conventions which are uniform throughout.
Read more about this topic: Best Coding Practices