Re: Call for Votes: PEAR::Calendar
| From: | Jon Parise | Date: | Fri, 24 Oct 2003 07:22:32 +0000 |
| Subject: | Re: Call for Votes: PEAR::Calendar | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-22949@lists.php.net to get a copy of this message | ||
On Fri, Oct 24, 2003 at 09:09:55AM +0200, Pierre-Alain Joye wrote:
> > On Fri Oct 24, 2003 at 08:5454AM +0200, Pierre-Alain Joye wrote:
> > > I agree. Implementing little tiny classes in php only to strictly
> > > follow a OO model sounds always bad to me.
> >
> > What's so bad about using object oriented paradigmas? That not only
> > breaks down the class into small pieces, but also ensure that the code
> > can be more easily extended and maintained.
>
> In a compiled langage, it's not a problem. In interpreted langages,
> having tons of small files with small classes is not that good. Nothing
> against the OO itself...
Lots of small files is definitely inefficient in PHP. If a package
really needs a bunch of small classes, it's preferable to place
multiple classes in one file.
--
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)