PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

NetTuts.com: Why You're a Bad PHP Programmer

Note: This article was originally published at PHPDeveloper on 22 February 2011.
PHPDeveloper

On NetTuts.com today there's a new (slightly inflammatory) post about why you're a bad PHP programmer - really why some of the practices you follow might be in the "bad things to do" playbook.

We all have our bad habits. In this article, we'll go over a list of bad practices that are worth examining, reevaluating, and correcting immediately.

In his list of things to avoid are suggestions like:

  • not planning before coding
  • opting for brevity over clarity
  • no coding standards
  • code duplication
  • practicing "Not Invented Here" (NIH)
  • not working on side projects to introduce yourself to new technology