Re: Direction for the Function Renaming Effort
| From: | Phil Driscoll | Date: | Thu, 08 Feb 2001 09:00:28 +0000 |
| Subject: | Re: Direction for the Function Renaming Effort | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-2330@lists.php.net to get a copy of this message | ||
Zak wrote:
>I think that this is more complicated than what we are discussing here, but
>is definately related. What do you think this version would entail and
>how would we implement it?
I think that it is really what we are discussing here, but it might also
include settling on things like preferred forms for 'and' or && etc. It may
then be that a 'racing' version of php could be built which only did the
pure stuff and by judicious use of #ifdef did not suffer any performance hit
from carrying any baggage.
>> We haven't so far discussed the order of function parameters. Consistent
and
>> guessable is good enough for me.
>I don't know that we can go back and fix anything - however, having a
>standard guideline for argument order would probably be a good thing.
I appreciate that it might be hard to fix existing stuff (without use of a
php.ini switch) and that it is going to be more complicated than simple
aliasing, but I don't see the point in sorting out the function names if we
still have inconsistent needles and haystacks.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org