Re: multiple use

From: Date: Sun, 01 Jun 2008 17:11:41 +0000
Subject: Re: multiple use
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-38058@lists.php.net to get a copy of this message
Hi!
I find the whole namespace issue complicated enough as it is. "importing" multiple namespaces and "aliasing" various classess/functions all in one line decreases the readability imo.
I must say I fail to understand how it's decreasing readability. Is function foo($a, $b, $c) hard to read? Is array(1, 2, 3) hard to read? Is global $a, $b, $c hard to read? is implements Foo, Bar, Baz hard to read? Is const $a = 1, $b = 2 hard to read? What exactly is hard in it? Almost all structures in PHP that allow multiple elements allow definitions chained with , - const, var, static, etc. What makes this one so special that it becomes unreadable one it has comma in it? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#38058) next »