Re: [PATCH] bracketed namespace declarations
| From: | Steph Fox | Date: | Sat, 08 Nov 2008 14:06:56 +0000 |
| Subject: | Re: [PATCH] bracketed namespace declarations | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-41773@lists.php.net to get a copy of this message | ||
Hey Greg,
Remember, the patch I'm proposing would only be necessary for people using un-namespaced code combined with namespaced code (already a bad idea) *and* scattering "use" statements throughout the global code.If it's 'already a bad idea', why support it?
Also, the *only* supported use case behind allowing multiple namespaces per file is to allow people to mash pre-existing separate PHP files together, and have them still compile. Requiring brackets is designed to make it more readable, and the "use" restriction furthers that goal.This part makes sense. - Steph