News Feed
Sections




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

Kevin Schroeder's Blog:
What programming rules should you ALWAYS follow?
November 09, 2011 @ 09:20:37

In a quick new post today Kevin Schroeder asks his readers for feedback on what programming rules you should always follow in your development practices.

Earlier today, more for my own interest, I asked the question on Twitter "What programming rules should you ALWAYS follow, regardless of the scenario you're working in?" In other words, are there programming rules that you ALWAYS should follow. It doesn't matter if it's a script to copy a bunch of files for a one time migration or if you're building the next Facebook (DON'T try to build the next Facebook. You will fail miserably. Build something else). In other words, what was the purist of programming rules.

Responses he received ranged from the simple to slightly more complex including:

  • Always comment your code
  • Test your code
  • Use source control
  • "Think. Think again. Then write code"
  • Use a good debugger to help track down problems
  • Make effective use of logging/output
0 comments voice your opinion now!
programming rules opinion recommendation twitter


blog comments powered by Disqus

Similar Posts

IBM developerWorks: Locking down your PHP applications

Nurul Ferdous' Blog: Here is my 2 cents on Doctrine (ORM)

Phil Sturgeon: Solving the PHP Internals Workflow

Slava Vishnyakov: PHP the Nice Way (Ever-evolving Huge Retailer Website Story)

Juozas Kaziukenas' Blog: Why Zend Framework?


Community Events





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


language introduction developer community testing opinion api unittest symfony2 install framework code release interview refactor series threedevsandamaybe laravel list podcast

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