News Feed
Sections




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

PHPFreaks.com:
10 Ways to Avoid Writing Crappy Code
July 06, 2009 @ 07:56:22

Following up on a previous post looking at characteristics of crappy software, PHPFreaks.com has posted ten more tips - this time, though, they're recommendations about how you can avoid writing crappy code of your own.

Here's their list:

  • Learn OOP and common OO principles
  • Employ Test Driven Design
  • Refactor, refactor, refactor
  • Simpler is better
  • Use Design Patterns
  • Don't Use Design Patterns
  • Accept the limitations of your language
  • Pretend you are writing a book
  • Peer Review
  • E_STRICT is your friend
  • Create a distinction between "source code" and a "build"

That's right - there's a bonus one thrown in there to help out just a bit more. There's some good tips in there that any developer could benefit from no matter the skill level. They may not all be at your level, but at least they give you something to shoot for.

0 comments voice your opinion now!
advice avoid code crappy


blog comments powered by Disqus

Similar Posts

php|architect Blog: Confessions of a Hiring Manager: Get my attention, Get a Job

CatsWhoCode.com: 10 code snippets to interact with Twitter

PHPEasy.co.uk: Tutorial: Type Hinting in PHP

SitePoint PHP Blog: PHP Extension Development with PHP-CPP: Object Oriented Code

Lorna Mitchell's Blog: Lame Excuses for Avoiding Conferences


Community Events

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


example voicesoftheelephpant interview laravel php7 part2 community opinion application configure framework api library podcast introduction symfony2 release performance conference series

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