Quantcast
Channel: PHPDeveloper.org
Viewing all articles
Browse latest Browse all 4

IBM developerWorks: Five good programming habits in PHP

$
0
0

Nathan Good has posted five tips PHP developers should use in their work to develop good programming habits to the IBM developerWorks site today.

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. [...] Bad coding habits seem to accompany defects in code and can cause code to be difficult to change without introducing new defects. The following five good habits, when applied to your PHP code, will help you avoid these pitfalls.

Here's the list:

  • Use good naming.
  • Take smaller bites.
  • Document your code.
  • Handle error conditions.
  • Never, ever, copy and paste.

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images