Re: PEAR's Error Handling and PHP5
| From: | Lukas Smith | Date: | Wed, 07 Jun 2006 20:37:31 +0000 |
| Subject: | Re: PEAR's Error Handling and PHP5 | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42841@lists.php.net to get a copy of this message | ||
Matthew Weier O'Phinney wrote:
Can someone on-list provide some reasons *for* sticking with PEAR_Error? or some information on where exceptions *wouldn't* fit with PEAR? Reasons other than "this forces design decisions" or "exceptions are evil"? I'd like to see some real, issues-oriented debate. There are plenty of good arguments now why exceptions might be the right direction; let's see if there are some good arguments for PEAR_Error in a PHP5 world.this has been discussed on this list before .. anyways here is a link to a blog discussion i had a while back on this topic: http://www.digitalsandwich.com/archives/34-What-did-exceptions-ever-do-to-you.html regards, Lukas