Re: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / Makefile.am zend.c zend_default_classes.c zend_default_classes.h php4 configure.in
| From: | Sterling Hughes | Date: | Sun, 23 Mar 2003 14:47:50 +0000 |
| Subject: | Re: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / Makefile.am zend.c zend_default_classes.c zend_default_classes.h php4 configure.in | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-179@lists.php.net to get a copy of this message | ||
On Sun, 2003-03-23 at 09:19, Sebastian Bergmann wrote:
> Sterling Hughes wrote:
> > Why add a throwable interface?
>
> Because we can then make throw() throw only Throwable objects.
>
That's a bad thing (imho). We shouldn't be enforcing design principles
on the users. Sure, we can make advisories ("exceptions should inherit
from exception"), but I see no reason to build a standard
straightjacket.
-Sterling
> --
> Sebastian Bergmann
> http://sebastian-bergmann.de/
> http://phpOpenTracker.de/
>
> Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/öžC[
> &ÔÆ^†[W¬QŽ
--
"Whether you think you can or think you can't -- you are right."
- Henry Ford