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

Smashing Magazine:
My Favorite Programming Mistakes
July 08, 2011 @ 13:57:21

On the Smashing Magazine site there's a post some of Paul Tero's favorite programming mistakes he's come across and heard of in his time programming.

I like to classify these mistakes into three broad groups: cock-ups (or screw-ups in American English), errors and oversights. A cock-up is when you stare blankly at the screen and whisper "Oops": things like deleting a database or website, or overwriting three-days worth of work, or accidentally emailing 20,000 people. Errors cover everything, from simple syntax errors like forgetting a } to fatal errors and computational errors.

Included in his list are things like:

  • Leaving Debug Mode On
  • Turning Debug Mode Off
  • Wrong Variable Type
  • 1p Errors

Examples of each are included with both code and descriptions as well as "lessons learned" to help you not make the same mistakes in your applications.

0 comments voice your opinion now!
programming mistakes experience


blog comments powered by Disqus

Similar Posts

Site News: Popular Posts for the Week of 11.27.2009

Site News: Popular Posts for the Week of 03.26.2010

Community News: Latest PECL Releases for 10.12.2010

Site News: Blast from the Past - One Year Ago in PHP

Joshua Thijssen's Blog: Compatible code: starting with symfony2


Community Events











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


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

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