Re: my last attempt at sanity with namespaces

From: Date: Fri, 17 Oct 2008 07:52:16 +0000
Subject: Re: my last attempt at sanity with namespaces
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-41200@lists.php.net to get a copy of this message
On Wednesday 15 October 2008 3:35:11 pm Greg Beaver wrote: > Hi, > > http://wiki.php.net/rfc/namespaceissues For the first point, #1 but with a less eyestrain-causing separator than :::. Easy for both humans and compilers to tell the difference at any point without referring back to the top of the file. Yes that would still mean existing namespace alpha code must be revised, but I look at that as "Thank you for testing it and finding this design flaw now rather than after it was released!" It's all in the delivery. :-) For the second point, am I correct in my understanding that existing code that doesn't use namespaces at all, under that setup, would not have the extra autoload magically popup? It's just code that declares a namespace that would have to also explicitly "use" its internal classes? If so, then +1 from me. If not, I'm undecided. -- Larry Garfield larry@garfieldtech.com

« previous php.internals (#41200) next »