You learn lots of things when you go to college and get a computer science degree or read a how-to-program book. Unfortunately, a number of good programming habits are either untaught or take a good amount of practice to turn into a way of life. Here are 10 such habits you should cultivate to become a better programmer.
1. Learn your source control process
2. Go with obvious variable naming
3. Use interfaces, not classes when possible
4. Assume the worst from your peers
5. Assume the worst from your users
6. Document the reason for a change
7. Explain the purpose of algorithms
8. Provide contextual help
9. Perform cross-platform testing
10. Keep the users in mind
Read the full story