Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38058 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44813 invoked from network); 1 Jun 2008 17:21:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jun 2008 17:21:52 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:53773] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BD/91-35077-EAAD2484 for ; Sun, 01 Jun 2008 13:21:51 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 1 Jun 2008 20:23:02 +0300 Received: from [192.168.17.83] ([192.168.17.83]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 1 Jun 2008 10:13:02 -0700 Message-ID: <4842D84D.50509@zend.com> Date: Sun, 01 Jun 2008 20:11:41 +0300 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Hannes Magnusson CC: PHP Internals References: <4842C9AF.6040803@zend.com> <7f3ed2c30806010943k79790024hf0e83bf5ea5a5340@mail.gmail.com> In-Reply-To: <7f3ed2c30806010943k79790024hf0e83bf5ea5a5340@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Jun 2008 17:13:03.0090 (UTC) FILETIME=[C00DB520:01C8C40A] Subject: Re: [PHP-DEV] multiple use From: stas@zend.com (Stanislav Malyshev) 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