Re: Which way is better?
| From: | Justin French | Date: | Fri, 09 May 2003 04:09:16 +0000 |
| Subject: | Re: Which way is better? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146969@lists.php.net to get a copy of this message | ||
on 09/05/03 3:07 PM, Peter Schoenster (peter@schoenster.com) wrote:
> If you've been doing web app work for awhile you'll realize the one true
> rule is everything will change and will your code be easy to change or
> not? Will even you be able to read it later? Your boss will not want to
> do a re-write. I always write for ease of evolution, if writing for
> speed write closer to the machine other than the obvious, imho.
I am my own boss, have being doing this for 3-4 years, and have what has
proven to be a robust, adaptable code base. It hasn't required any major
overhauls, and has stood up well faced with some very unexpected client
requests, changes and modules.
*I* personally find my coding style is easy to maintain, easy to read, etc
etc, having spent hundreds of hours working with it. You may not, but that
shouldn't imply that yours is the best solution to a problem.
Isn't that why the PHP developers gave us MANY different ways to print
output? So that each individual can work in a way that best suits them.
Justin