Re: [PATCH] Redirect on Error
| From: | Derick Rethans | Date: | Tue, 26 Nov 2002 10:36:58 +0000 |
| Subject: | Re: [PATCH] Redirect on Error | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91686@lists.php.net to get a copy of this message | ||
On Tue, 26 Nov 2002, Maxim Maletsky wrote:
> marcus.boerger@t-online.de (Marcus Börger) wrote... :
>
> > However i would VERY MUCH appreciate having english error messages hard coded
> > into the source. AND those i18n error messages only activateable by an ini
> > setting.
>
> I disagree. Leaving english comments in C code is obvious, but the
> errors that get printed to user's screens should be out of C code.
No, I won't want the C code less maintainable and have to search for
error codes all the time.
> I know, it will hassle some lazy us while coding, but nevertheless, it
> will help documentation ppl to translate errors easlier without knowing
> how extensions are set :)
It's giving coders more work, work which looks like documenting; and we
all know that coders dont like to document. And being lazy has nothing
to do with it, it's just all practical. Dont forget that most coders
work on PHP because they _need_ the function they are working on in
their jobs.
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------