Re: Re: PEAR's Error Handling and PHP5
| From: | Pablo Fischer | Date: | Wed, 21 Jun 2006 18:21:00 +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-43065@lists.php.net to get a copy of this message | ||
Hi,
> Yes we can. That's called "coding standards" and these mandate using PEAR_Error
> for error handling in PHP4 packages and exceptions in PHP5 packages. This
> particular standard was introduced after the relevant RFC was accepted:
> http://pear.php.net/pepr/pepr-proposal-show.php?id=132
I know there's an RFC, but IMHO a reason of why it hasn't be used is for
another reason, why so many developers don't want to use it? That should
be the question instead of "Why many developers don't want to follow the
damn RFC".
IMHO, the problem with that 'standard' is a communication problem in the
team.
It's as simple: If you write and publish a law statement and then you
just find that lot of people don't like it, then it's about
communication with people.. and sadly most of the times this problem
starts since the RFC started.
My opinion? Make it _OPTIONAL_ and start writting a _REAL_ RFC with all
the developers for php6.
In my personal case I'd like to use lot (or all) of features PHP5 has,
but most of my customers are running Debian servers and as you know
Debian stable doesn't run new versions of software. I know that many
people will come to say: "then don't support it".. but it's about money,
and i'm going to loose customers? Do you see? there are a lot of
internal and external issues about why many PHP developers simply don't
like PHP5 totally (maybe they like it, but maybe don't want to use it).
Another case, I'm running two other projects, one of these projects
(Jaws Project) uses many PEAR packages (like MDB2). We would really like
to move code to PHP5, however, here you have again external issues:
People running distributions that don't support PHP5. So you may
consider external factors if you really want to _FORCE_ developers to
move to PHP5, it's not as simple as writing a RFC and force developers
to use it.
> If you want to change it, write another RFC.
Don't answer in that way. IMHO, is more important to have "netiquette
standards" in these situations that just flamming out.
Regards,
--
Pablo Fischer Sandoval (pablo [arroba/at] pablo.com.mx)
Cel: (044-55) 2689-6351
Fingerprint: 5973 0F10 543F 54AE 1E41 EC81 0840 A10A 74A4 E5C0
http://www.pablo.com.mx
http://www.jaws-project.com