Re: Re: cvs: php-src /pear System.php
| From: | Jan Schneider | Date: | Tue, 16 Sep 2003 14:27:19 +0000 |
| Subject: | Re: Re: cvs: php-src /pear System.php | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-21656@lists.php.net to get a copy of this message | ||
Zitat von "Tomas V.V.Cox" <cox@idecnet.com>:
> On Tuesday, September 16, 2003 12:03, Jan Schneider wrote:
>
> > Tomas V.V.Cox wrote:
> >> cox Mon Sep 15 16:17:34 2003 EDT
> >>
> >> Modified files:
> >> /php-src/pear System.php
> >> Log:
> >> * Implemented the find command (currently supported args:
> >> -type f, -type d, -maxdepth, -name)
>
> > Just a dumb question: why don't you extend File_Find?
>
> Because they belong to different packages and System is shipped within
> the PEAR package where we try to get as less dependecies as we can.
>
> Btw, in the case that 2 packages share some functionality is better to
> duplicate the code than require a whole package.
Yes, but these are not sharing some functionality because finding files is
the whole purpose of File_Find. Anyway, I got the point.
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft