On Tue, 26 Nov 2002, Maxim Maletsky wrote:

> Derick Rethans <[EMAIL PROTECTED]> wrote... :
> 
> > On Tue, 26 Nov 2002, Maxim Maletsky wrote:
> > 
> > > This can be easily avoided. When I have to report an Oracle error in
> > > Italian on an English page, I simply type the error code. We need to
> > > introduce error codes in PHP, that would really solve the trouble.
> > 
> > and it would make us enter the maintainers-hell....
> 
> It's not really that much of hell. just adding an English comment like:
> 
> /* Fail if this data no good */
> php_error(354, bad_data);

Huh, what is code 354? What is the exact message? Comments dont help, 
and then you need to update the message at two locations! Woohoo! even 
more work.

> 
> Can save the whole thing. Naming conventions and coding style used
> commonly can be the solution.

Yeah, and you just tell us what to do.

Derick

-- 

-------------------------------------------------------------------------
 Derick Rethans                                 http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals       http://php-mag.net/
-------------------------------------------------------------------------


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

Reply via email to