Re: Re: ctype function (re?)naming
| From: | Andi Gutmans | Date: | Wed, 07 Mar 2001 15:46:31 +0000 |
| Subject: | Re: Re: ctype function (re?)naming | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.dev php.qa |
| Request: | Send a blank email to php-dev+get-48167@lists.php.net to get a copy of this message | ||
At 04:34 PM 3/7/2001 +0100, Hellekin O. Wolf wrote:
At 17:22 07/03/2001 +0200, Andi Gutmans wrote:It's always better to write a few extra characters if it makes your code much more readable. Andi*** Well, errmsg/errstr are everywhere else, be it in PHP or C. errno would take the lifting also... We would end with function names like :*** What is the difference between error ad errstr ? Maybe errstr should be changed to errmsg ? (Did I say that elsewhere ? ;-) As the file extension is .bz2, maybe the prefix should be bz2_ as well (it's an algorithm, not a version right ?)How about error_message or error_string?mysql_error_number() mysql_error_string()Looks great regarding paragraph formatting but wastes lots of keystrokes ;-)