News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

IBM developerWorks:
Five good programming habits in PHP
December 04, 2008 @ 12:04:56

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.
0 comments voice your opinion now!
programming habit bestpractice document naming error copynpaste


blog comments powered by Disqus

Similar Posts

Stefan Mischook's Blog: OOP in PHP: New PHP Article in Web Designer Magazine (Nov 2006)

php|architect: Stored Procedure Programming for MySQL5 (Part 2)

Zend Developer Zone: Book Review: Object-Oriented Programming with PHP5

NetTuts.com: How to Write Testable and Maintainable Code in PHP

William Candillon's Blog: The new release of phpAspect is coming soon


Community Events











Don't see your event here?
Let us know!


release application package hack podcast composer framework symfony2 introduction overview code unittest facebook hhvm security support component language install opinion

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework