Re: Namespace issues

From: Date: Tue, 21 Oct 2008 02:56:34 +0000
Subject: Re: Namespace issues
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-41301@lists.php.net to get a copy of this message
Ilia Alshanetsky wrote:
Another issue I just came across caused by :: being used for both namespaces and classes is the fact when it comes to validation such as the one I've just put it for constant names, its impossible to determine if the prefix is a namespace or a class name. So, I definitely think we should change :: to just about anything else, as long as its not :: I'd be happy.
LOL, this is never ending. I was on the "change ::" bandwagon before realizing it won't fix everything. Would changing the element separator help you in this case? IMO, using a element separator would fix both ambiguity and help autoload. I'm still for option #2, though it lost out already. ;)

« previous php.internals (#41301) next »