Re: pif
| From: | Zeev Suraski | Date: | Wed, 22 Aug 2001 20:14:31 +0000 |
| Subject: | Re: pif | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-64093@lists.php.net to get a copy of this message | ||
At 23:09 22-08-01, Andrei Zmievski wrote:
On Wed, 22 Aug 2001, Zeev Suraski wrote: How about phf_, for PHP Helper Function? I see a point in differentiating language level API functions (e.g. like output buffering) and module-specific helper functions (e.g., like php_mysql_do_connect()). Explain what the point is, then. I would assume that functions like php_mysql_do_connect() are scoped statically, so it shouldn't be a big deal that they have php_ prefix.It's not about possible symbol clashes... When debugging (or when reading code), it helps to know what's a part of the API and what isn't. It also makes different types of prefix-based searching (e.g., gdb's completion, or emacs' search feature) a bit easier. Is it a big deal? No, but it can be useful and has no real drawbacks. Zeev