Re: Re: [Zend Engine 2] Re: [PHP-DEV] namespaces ambiguity
| From: | Jon Parise | Date: | Mon, 01 Oct 2001 13:50:14 +0000 |
| Subject: | Re: Re: [Zend Engine 2] Re: [PHP-DEV] namespaces ambiguity | ||
| References: | 1 2 3 4 5 6 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-66916@lists.php.net to get a copy of this message | ||
On Mon, Oct 01, 2001 at 12:55:16PM +0200, Andi Gutmans wrote:
> Maybe we need to think if there's a possibility to combine namespaces and
> classes and therefore it automatically would be ::. I am against two
> mechanisms that use :: but if we can find a nice way of combining the two
> (haven't thought about it yet) it could be pretty decent.
There's the Python approach, where namespaces are determined by
classes, and there's the Perl approach, where everything has a
package (which defaults to 'main').
--
Jon Parise (jon@csh.rit.edu) . Information Technology (2001)
http://www.csh.rit.edu/~jon/ : Computer Science House
Member