Re: Namespace
| From: | Michael McGlothlin | Date: | Thu, 06 Dec 2007 18:08:59 +0000 |
| Subject: | Re: Namespace | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33807@lists.php.net to get a copy of this message | ||
-- Michael McGlothlin Southwest Plumbing SupplyI agree that braces are the way to go. Otherwise it's to easy to lose track of what namespace you're working with.This is simple - you always have one namespace per file. Then it's best to not allow multiple namespaces for file. If you're not going to keep the syntax clean then don't do it. PHP already has the bad habit for many programmers to write totally unreadable code. It's darn near as bad as Perl in that area. No reason to make it worse.