Re: Re: namespace separator ideas
| From: | comex | Date: | Sun, 27 Nov 2005 02:02:12 +0000 |
| Subject: | Re: Re: namespace separator ideas | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20620@lists.php.net to get a copy of this message | ||
(This is my first post to this list and of course just my opinion.)
> Foo%%bar%%Baz::getTest()->foo();
>
> Yes, it is blocky, as is the :: for class scopes.
But it is the same width as *six* colons. I agree that : should be
used even if it means requiring whitespace in some obscure case,
mainly because everything else suggested here just doesn't look right.
%%, as mentioned, is blocky, as with many of the other ones. And <-
to me looks backwards and implies that x->y = y<-x. (Same with any of
the operators starting with <, since that seems to be impossible
anyway.)
If : can't be used, however, %% is my favorite.