On 27 Nov 2002 01:27:18 +0100 "Stig S. Bakken" <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to