RE: [PHP-DEV] Woah

From: Date: Tue, 11 Sep 2001 00:53:48 +0000
Subject: RE: [PHP-DEV] Woah
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-65727@lists.php.net to get a copy of this message
On 11/09/01, "Cristopher Daniluk" <cris@dsnet.net> wrote: > Still, the option of > introducing runtime function aliases and/or compiler directives was brought > up. I personally prefer this solution, its not a bad idea for PHP to have > anyway, and gives users a ONE LINE solution, while giving the rest of PHP, > the overwhelming majority mind you, a more consistent language. > > Clearly, no one loses in this scenario. The small chunk who use gettext make > a one line change. Performance is not affected. Conventions are satisfied. > Everyone goes home happy. What's the problem? There isn't one (as I have been saying all along). But it doesn't really change the fact that code that uses gettext will still have _() everywhere, and we will still have the "problem" of people saying "wtf does _() mean? I can't find it in the manual??" which is the basis of this whole argument. Let's do this alias thing, but lets also document _() for the sake of those people that have never heard of gettext but need to maintain the code. --Wez. The world needs more engineers

« previous php.dev (#65727) next »