Re: PEAR's Error Handling and PHP5

From: Date: Wed, 07 Jun 2006 21:12:00 +0000
Subject: Re: PEAR's Error Handling and PHP5
References: 1 2 3 4 5  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-42844@lists.php.net to get a copy of this message
Lukas Smith wrote: > 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 Lukas, I really don't want to revive a silly debate, but can you provide some concrete examples of how using exceptions in place of PEAR_Error would actually make prototyping slower? I know you've been saying that for years, but it just doesn't make any sense to me. In fact, I would say the opposite is true in my applications. I can only assume that you simply haven't used exceptions -- but I'm willing to be wrong! Thanks, Hans

« previous php.pear.dev (#42844) next »