Re: Re: Performance Consideration of 1 class
| From: | Jon Parise | Date: | Mon, 26 Apr 2004 19:13:14 +0000 |
| Subject: | Re: Re: Performance Consideration of 1 class | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-28384@lists.php.net to get a copy of this message | ||
On Mon, Apr 26, 2004 at 03:55:16PM +0100, Sergio Carvalho wrote:
> >... but if a pair of classes is *always* needed together, especially a
> >set of
> >small utility classes, then *requiring* them to live in seperate files
> >is just
> >plain silly. Why do you want to mandate this?
>
> Maintenance. They're easier to find that way.
That's subjective. Maybe I think it's easier to find all of my Widget
implementations if they're all stored in a single file. I'd certainly
feel this way if each subclass was implemented using only a handful of
lines of code.
--
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)