Re: Error Codes, Langs, etc

From: Date: Wed, 27 Nov 2002 00:53:09 +0000
Subject: Re: Error Codes, Langs, etc
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-91793@lists.php.net to get a copy of this message
On 27 Nov 2002 01:27:18 +0100 "Stig S. Bakken" <ssb@fast.no> wrote: > If someone wants help on php-general and their error message is in Urdu, > then too bad. Companies like IBM and Oracle has solved this problem by > introducing more complex error codes (such as "0123-456 File not > found"), which is an absolute must if one does go in this direction, or > the poor Urdu-speaking guy won't be able to find people who can help > him. Right! I was mentioning that - no translation or any kind of other flexibility on errors is possible if there is no solid error code logic accomplished. These would help really a lot. Even if messges will never be localized, error codes will still be helpful a whole bunch. > But the task of maintaining such a registry, and avoiding that it > degenerates into a chaotic mess, requires an amount of collective > self-discipline that I simply don't think a big project like PHP can > muster. I doubt it adds all that much of complexity as many think. of course, it requires going through them all over and then, when coding, looking up for the code conventions. But, IMO, this all is not such a disaster to do. It can help more. > Let's try being realistic, and focus on the quick wins first, such as > good error codes. Amen! That is where i was leading and got misleading :) --- Maxim Maletsky maxim@php.net

« previous php.dev (#91793) next »