Re: Inconsistencies in 5.3

From: Date: Tue, 12 Aug 2008 00:45:12 +0000
Subject: Re: Inconsistencies in 5.3
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-39857@lists.php.net to get a copy of this message
Hi!
3. You want another namespace, just write namespace again.
No, that's not for kids to play with. That's grown-up stuff. Rated X.
4. You got lost after the 10th namespace? Welcome to if-else nesting
Get your hands away from the keyboard and re-read the part about "not using multiple namespaces per file" :) If not convincing - stop using namespaces until it is :)
Some coding style guides force curly braces for if-else for a reason.
If you know what "coding style" means you are not using multiple namespaces per file anyway. If you don't - well, then all bets are off :) -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#39857) next »