Re: Re: PEAR's Error Handling and PHP5
| From: | Lukas Smith | Date: | Thu, 08 Jun 2006 16:37:37 +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-42860@lists.php.net to get a copy of this message | ||
Martin Jansen wrote:
On Wed Jun 07, 2006 at 06:2808PM -0400, Hans L wrote:If you count the number of pear-devs opposed to mandating Exceptions you will probably only find Pierre, myself and maybe Helgi. Aside from that none of the comments about how to deal with my Exception issue example are feasible imho. regards, LukasPEAR 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.Amen.