Re: Namespaces in PHP 6 - ++$take
| From: | Lukas Kahwe Smith | Date: | Fri, 10 Nov 2006 22:01:47 +0000 |
| Subject: | Re: Namespaces in PHP 6 - ++$take | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26492@lists.php.net to get a copy of this message | ||
Patrick Mueller wrote:
There would typically be a one time 'hit' in your code for a long, prefixed named used as a constructor, or possibly a static method called on a factory. After that, if you're dealing with object instances, then instead of function names (which would need to also use a longish prefix, because they are scoped globally), you can use plain old short method names.Remember the point Sebastian made earlier. Its also a hassle during development of the library code itself, where you have to deal with endlessly long class names. regards, Lukas