Re: Standardized way of interpolating variables into PEAR_Exception messages?
| From: | Pierre | Date: | Sat, 23 Sep 2006 22:58:24 +0000 |
| Subject: | Re: Standardized way of interpolating variables into PEAR_Exception messages? | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-44020@lists.php.net to get a copy of this message | ||
Helllo,
On 9/23/06, Alexey Borzov <borz_off@cs.msu.su> wrote:
What I say is to consider this draft as what we should use as rule for exceptions is plain wrong. If you have really tried them two years, you would not have proposed them as standard, really not. Also a quick review of the comments will tell you how controversial is this proposal and how hard it is to define strong rules about this topic. I prefer guidelines and common sense. Also this proposal misses the conversion from other Errors (Error or ErrorStack ) to exceptions. Given the amount of questions about exceptions usage , when to use them, when to define your own classes or reuse a standard one (internal one), I strongly ask for a complete documentation *and* guideline in PEAR, it is much more important than yet another set of rules. We already have way too many rules. You can always propose one again once we get a doc and a guideline. The "you are Mr...." comment is pointless (and crossing the border), as you noticed with your last RFC, everyone can write and propose one. Last but not least, stay on topic. --PierreAh... and I've just been told on IRC that the RFC requiring PEAR_Exception for PHP5 packages, although "approved", is not necessarily a requirement after all. It might be nice to edit "approved...but despite that, not agreed upon or required" proposals to reflect their true status. I'm just trying to strictly follow all of the coding standards for my proposals as best I can.Alexey, again, keep such words out of this list.That's complete and utter BS.And I confirm that this pepr is not accepted. We are not going to accept such changes with five +1, we never did and we will not start now. A large participation and agreement is required. Hey, you are Mr. PEAR Group, not me. If you want to make up new rules for accepting proposals then go ahead and make them up, but please follow due procedure [1] for this. The exceptions proposal was accepted 2 years ago, but people who supposedly have issues with it didn't try to do anything to fix these issues.The proposal is either accepted or not, whether the anonymous person on IRC likes it or not.