Re: OO wrappers (was : Need 1 more vote for Image_IPTC class)
| From: | Xavier Noguer | Date: | Tue, 08 Apr 2003 14:02:15 +0000 |
| Subject: | Re: OO wrappers (was : Need 1 more vote for Image_IPTC class) | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-15027@lists.php.net to get a copy of this message | ||
El Mar 08 Abr 2003 07:56, Ant-1 escribió:
..
> I agree with Rasmus. Everybody know the existence of "programming
> fashions". OO is one of this fashions, and so if a developper has the
> choice of using an OO wrapper or the low-level function, you can be sure
> he will choose to use the OO class, neglecting the overhead. And when
> the wrapper is used in another PEAR package, you're forced to make do
> with the overhead if you need the package's functionnality.
In my opinion PEAR packages shouldn't use wrappers. It's one thing to create
an OO wrapper so that people have more choices for using a certain
functionality, and another one to force anyone using a different
functionality to have to deal with the overhead of that wrapper.
Xavier