Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39845 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36844 invoked from network); 11 Aug 2008 22:57:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Aug 2008 22:57:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.163 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.163 il-gw1.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.163] ([212.25.124.163:41924] helo=il-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 05/22-25857-AE3C0A84 for ; Mon, 11 Aug 2008 18:57:47 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 12 Aug 2008 01:58:34 +0300 Received: from [192.168.16.110] ([192.168.16.110]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 11 Aug 2008 15:58:31 -0700 Message-ID: <48A0C415.9090104@zend.com> Date: Mon, 11 Aug 2008 15:58:29 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: hannes.magnusson@gmail.com CC: Lukas Kahwe Smith , Marcus Boerger , internals@lists.php.net References: <909776579.20080803142659@marcus-boerger.de> <840985F2-A701-4BE4-91F6-F6B39048CF9B@pooteeweet.org> <48A09FF4.1030101@zend.com> <7f3ed2c30808111411t51553771j389f05c3436bc625@mail.gmail.com> In-Reply-To: <7f3ed2c30808111411t51553771j389f05c3436bc625@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Aug 2008 22:58:31.0213 (UTC) FILETIME=[C64E85D0:01C8FC05] Subject: Re: [PHP-DEV] Inconsistencies in 5.3 From: stas@zend.com (Stanislav Malyshev) Hi! > So why the $%#$%& can't we use "package" if the implementation has > nothing incommon with namespaces in c++ (your example, not mine)? We could use "package" or we could use "hexaflexagon" or we could use "triskaidekaphobia" or any other word. But if we have namespace implementation in PHP, why don't we call it "namespace"? Because it is "inconsistent" with C++? To hell with C++ then, nobody said PHP is C++. > Well. I do want that indentation if I ever will be dumb enough to have > multiple namespace in the same file.. Indentation happens when you do () even once. {} implies that everything inside it is on next level of hierarchy and thus should be indented. Of course, it's "inconsistent" with Python, so maybe we should drop braces altogether... > Its not about consistency for me. Its about that little gut feeling you have. Well, of course I can not address little gut feeling with any logical argument. But to hell with logic and reasoning, let the little gut feeling rule. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com