Re: alpha3
| From: | Gregory Beaver | Date: | Sat, 27 Sep 2008 20:15:17 +0000 |
| Subject: | Re: alpha3 | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40738@lists.php.net to get a copy of this message | ||
jvlad wrote:
>> Adding support for functions, constants and even variables is actually
>> quite do-able with the solution I suggested (different separator between
>> namespace name and function/constant/variable name) and can be added
>> easily.
>
>> Adding support for functions, constants and even variables is actually
>> quite do-able with the solution I suggested (different separator between
>> namespace name and function/constant/variable name) and can be added
>> easily.
>
>
> Greg,
>
> Does it mean that the namespace separator will not be (or likely not to be)
> the same when you need access to namespaced classes vs namespaced functions?
> What's about consistency of the design? If you can't resolve the ambiguity
> or any other problems around namespaces without changing the separator, why
> not to change it for classes too?
Hi,
The patch I posted here:
http://pear.php.net/~greg/ns.element.patch.txt
does exactly what you are talking about. For some reason, some people
find this too difficult to digest. I've already expressed my opinion on
the matter (after all, I did spend almost a week developing the patch).
Greg