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...
Proxies in PHP - Matthew Weier O'Phinney
A number of programming design patterns look very similar. One of these is the Proxy pattern, which, at first glance, can look like a number of others: Decorator, Flyweight, even plain old...
Design Patterns of Drupal - Larry Garfield
My article from the inaugural issue of Drupal Watchdog is now online. Design Patterns of Drupal is based on my original session from DrupalCon Paris. Although Drupal-centric, it serves as a...
Zend Developer Zone: Design Patterns I Hate
On the Zend Developer Zone today there's a new post from Keith Casey about some of the design patterns he hates - ones that are misused too often and have become more of a "worst practice"...
Post new comment