Re: Re: [Zend Engine 2] Re: [PHP-DEV] namespaces ambiguity

From: Date: Mon, 01 Oct 2001 12:02:05 +0000
Subject: Re: Re: [Zend Engine 2] Re: [PHP-DEV] namespaces ambiguity
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-66914@lists.php.net to get a copy of this message
> BB>> why not => then. imo the parser will easily distinguish array > BB>> definition from an expression > The last thing we need is symbol reuse. The parser can distinguish a lot > of things, the problem is that the human developer would be confused. => > has a clear meaning in PHP, adding other meaning to it would have very > high WTF factor for the developer. sure. the F'ed WTF... :) anyway this is a better solution if the best syntax :: makes stuff slow. thinking in general a namespace is very close to a class, so if there's no tech reasons not to make a single implementation of both it'd be perfect b.

« previous php.dev (#66914) next »