Re: zend_API.c
| From: | Andrei Zmievski | Date: | Mon, 03 Feb 2003 15:17:49 +0000 |
| Subject: | Re: zend_API.c | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-93934@lists.php.net to get a copy of this message | ||
On Mon, 03 Feb 2003, Harald Radi wrote:
> because people prefer either the one or the other way to manipulate things.
> people not familiar with oo will most likely not not stick with the oo api nor
> will they be happy if they're forced to use it. on the other hand people
> writing their scripts entirely oo will propably hate it to mix function calls
> with method invokations all the time.
> furthermore functions are supposed to issue warnings and methods are supposed
> to throw exceptions, two entirely different concepts of error handling where
> neitherone is preferable.
>
> so the question is to give rope or not.
Ugh, so following your line of reasoning we should rewrite all
extensions to provide both function and OO apis? A better approach would
be to have extensions provide only function API and then write a PEAR
class to expose them as objects.
-Andrei http://www.gravitonic.com/
* My wishlist: http://www.amazon.com/exec/obidos/wishlist/2Q2DIPY7BZLSH/
*