Re: Re: PEAR's Error Handling and PHP5
| From: | Jeff MacDonald | Date: | Fri, 09 Jun 2006 20:17:14 +0000 |
| Subject: | Re: Re: PEAR's Error Handling and PHP5 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42896@lists.php.net to get a copy of this message | ||
On Fri, 2006-06-09 at 21:01 +0200, Markus Tacker wrote:
> On 6/9/06, Hans L <hlellelid@gmail.com> wrote:
> > What makes a framework *work* is the shared guidelines ("coding
> > standards", if you will) that allow package developers to make
> > assumptions about how other packages are going to work.
>
> I very much agree to Hans. There should be one standard way errors are
> handled. From the view of a maintainer its nicer to have choice which
> suits your skills, preferences or time frame during development. But
> it makes the end users (non-developers) life easier to have a defined
> way errors are presented to him.
>
fwiw, I agree *completely* with this sentiment. as a pear user, what I
want most is consistency-- that way I only have to learn one technique.
if I make use of some modules which use exceptions and others which use
pear_error, my job is a little more difficult.
regards,
J
--
Jeff MacDonald
Zoid Technologies, http://zoidtechnologies.com/