Re: relaxing studlyCaps requirement?
| From: | Andrei Zmievski | Date: | Thu, 02 Aug 2001 18:58:00 +0000 |
| Subject: | Re: relaxing studlyCaps requirement? | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1256@lists.php.net to get a copy of this message | ||
On Thu, 02 Aug 2001, Rasmus Lerdorf wrote:
> Not always. There are times when it is just convention that a function
> has a certain name. strlen() for example would look odd as str_len() and
> to be anally consistent foreach() should be for_each(). The fact that it
> is a language construct isn't really relevant here if we were to decide to
> blindly make everything in PHP consistent.
Once we have namespaces we could separate the functions into groups and
have string.len() or string.length(), array.walk(), and so on.
-Andrei
* The future is not what it used to be. *