Re: What design patterns do you usually use?

From: Date: Wed, 27 Feb 2008 15:35:28 +0000
Subject: Re: What design patterns do you usually use?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-270308@lists.php.net to get a copy of this message
On Wed, 2008-02-27 at 08:25 -0600, Ray Hauge wrote: > There is also such a thing as too much. I heard a talk a while ago > about code maintainability. The speaker mentioned a co-worker of his > ran into his cube almost exhausted and proclaimed, "I finally did > it!. > I used every one of the design patterns in my program!" Just a few > months later the speaker ended up being in charge of maintaining that > program, and it was a nightmare. > > To make a long story short. I generally do what's easiest. It's > typically faster to develop and easier to maintain. Unnecessary > complexity can start a snowball effect. You bring up a good point... knowing how to refactor crappy code is also a great skill to have. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.general (#270308) next »