Five Good Programming Habits in PHP

[quote]Just like any language, developers can write code in PHP that ranges in quality from truly awful to very good. Learn good programming habits that can help you bridge the productivity gap.
Depending on whom you ask, the difference between a good developer and an excellent developer, in terms of productivity, is a factor of 10 to 20. An excellent developer is more productive because of his experience and good habits. When poor programming habits sneak into your code, they’re a drain on productivity. This article demonstrates some good programming habits that can make you a better programmer.[/quote]

[url=]IBM DeveloperWorks, Nathan A. Good: Five good programming habits in PHP[/url]

1. Use good naming.
2. Take smaller bites.
3. Document your code.
4. Handle error conditions.
5. Never, ever, copy and paste.