Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33786 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84581 invoked by uid 1010); 6 Dec 2007 03:22:31 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 84566 invoked from network); 6 Dec 2007 03:22:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Dec 2007 03:22:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=jeremy@omegavortex.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jeremy@omegavortex.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain omegavortex.net from 207.210.105.50 cause and error) X-PHP-List-Original-Sender: jeremy@omegavortex.net X-Host-Fingerprint: 207.210.105.50 analucia.asmallorange.com Received: from [207.210.105.50] ([207.210.105.50:35931] helo=analucia.asmallorange.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 28/7F-12052-6FA67574 for ; Wed, 05 Dec 2007 22:22:30 -0500 Received: from [24.8.172.240] (port=2389 helo=[192.168.15.107]) by analucia.asmallorange.com with esmtpa (Exim 4.68) (envelope-from ) id 1J07Jn-0006TO-QR; Wed, 05 Dec 2007 22:22:32 -0500 Message-ID: <47576AEF.4030306@omegavortex.net> Date: Wed, 05 Dec 2007 20:22:23 -0700 Organization: Omega Vortex Corporation User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Larry Garfield CC: internals@lists.php.net References: <475713B2.4030802@iamjochem.com> <475719ED.8050306@zend.com> <200712052110.37023.larry@garfieldtech.com> In-Reply-To: <200712052110.37023.larry@garfieldtech.com> Content-Type: multipart/alternative; boundary="------------020701090809090902050707" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - analucia.asmallorange.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - omegavortex.net X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] Namespace From: jeremy@omegavortex.net (Jeremy Privett) --------------020701090809090902050707 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Larry Garfield wrote: > On Wednesday 05 December 2007, Stanislav Malyshev wrote: > >>> implementation [details] not the concept. I believe that the >>> implementation needs a little ironing out ... what's the harm in taking >>> the time to do this? or at least taking the time to let consensus take >>> hold? >>> >> No harm, but we will have multiple namespaces per file figured out >> pretty soon, and I don't see any new developments with the braces thing, >> so what exactly would we wait for? >> > > Actually, as I've said previously IF we switch to multiple namespaces per file > (which I honestly have no strong opinion on), switching to braces at the same > time makes sense. It's much easier to parse visually (by a human) in that > case, and there's no reason I know of why we couldn't still forbid > non-namespaced code in a namespace-using file to avoid confusing weirdness. > > I know I just finished praising you just some hours ago, Stas, but I'm going to have to step in and agree with Larry on this one. It really doesn't make sense for there to be no braces for namespaces (especially if you're going to allow multiple per file). A namespace is a logical grouping of classes/functions and other constructs of this type in PHP use braces. That is very confusing syntax when compared to other areas of the language. Jeremy --------------020701090809090902050707--