Re: Resurrecting the Function Renaming Thread

From: Date: Tue, 06 Feb 2001 21:40:34 +0000
Subject: Re: Resurrecting the Function Renaming Thread
References: 1 2 3  Groups: php.qa 
Request: Send a blank email to php-qa+get-2238@lists.php.net to get a copy of this message
On Tue, Feb 06, 2001 at 10:25:23PM +0100, Cynic wrote: > >Jim Winstead wrote: > >> on the function naming issue, i would just suggest that maintaining > >> consistency with well-known names is a good thing. particular for things > >> like the string-handling functions. it is very frustrating to hop between > >> languages that have identical functions with slightly different names. > > Ok Jim, but what do you want to be consistent with? AddCSlashes, or > get_cfg_var? bin2hex or bindec? or even strtolower? There are too many > rabbits to catch. I would kill for being relieved from having to check the > names consistently or just try and see if it works. i don't see how you think that's what i was talking about. my point was simply that strlen should probably be called strlen. making it be str_len just to make all of php's string handling functions have some sort of perceived internal consistency is silly. (not that i know that anyone has suggested strlen be called str_len.) feel free to disagree. i really don't care enough to argue about it. jim

« previous php.qa (#2238) next »