Re: ZendEngine2/RFCs/002.txt
| From: | Andrei Zmievski | Date: | Sat, 08 Sep 2001 15:36:32 +0000 |
| Subject: | Re: ZendEngine2/RFCs/002.txt | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1849@lists.php.net to get a copy of this message | ||
On Sat, 08 Sep 2001, Stig Sæther Bakken wrote:
> 1. Allow mid-file namespaces changes that would allow a file to
> contain:
>
> namespace Foo;
> class Bar ...
> namespace Foo:Bar;
> constants ...
That's not too bad.
> 2. Change the entire PEAR class<->file scheme to a class<->namespace
> scheme. This would be pretty ugly, we'd end up with fully
> qualified class names such as "HTML_Table:Table" or "HTML:Table:Table".
Ack.
> 3. Make a namespace "instantiatable" like I suggested a month or two
> ago. This is what Perl/CPAN ended up doing, probably for the same
> reasons I'm losing hair over this. :-)
What's an instantiable namespace?
-Andrei
"Try to spend the next 30 seconds not thinking
about a blue-eyed polar bear." -Feodor Dostoevsky