Re: Namespace
| From: | Michael McGlothlin | Date: | Thu, 06 Dec 2007 17:49:31 +0000 |
| Subject: | Re: Namespace | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33805@lists.php.net to get a copy of this message | ||
I agree that braces are the way to go. Otherwise it's to easy to lose track of what namespace you're working with.
If a namespace can be valid for a portion of code in one file, then it should be possible to use the same syntax as for all other blocks in PHP. You wouldn't suggest this: class Foo; public function zomg() {} class Bar; public function lolz() {} would you? Not the same thing, but you get the idea. David Am 06.12.2007 um 18:13 schrieb Stanislav Malyshev:-- Michael McGlothlin Southwest Plumbing Supply+1. If we allow multiple namespaces per file, then braces are an absolute must for consistency IMO.I do not see any relation between consistency and braces. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php