Re: Re: PEAR's Error Handling and PHP5
| From: | Pierre | Date: | Thu, 08 Jun 2006 17:08:02 +0000 |
| Subject: | Re: Re: PEAR's Error Handling and PHP5 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42861@lists.php.net to get a copy of this message | ||
On 6/8/06, Lukas Smith <lsmith@php.net> wrote:
Martin Jansen wrote: On Wed Jun 07, 2006 at 06:2808PM -0400, Hans L wrote:Without talking about all developers and users who will not post a single word in this list and especially not in the Nth thread about mandating exceptions. --PierreAmen. If you count the number of pear-devs opposed to mandating Exceptions you will probably only find Pierre, myself and maybe Helgi.PEAR packages are OO objects; exceptions are IMO *the* accepted OO way to handle errors and they are BUILT INTO THE PHP LANGUAGE. I don't understand why PEAR, which makes all sorts of other prescriptions about sourcecode, wouldn't decide that its packages will use a unified error handling system -- especially when that system requires no external dependencies.