Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33869 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41698 invoked by uid 1010); 8 Dec 2007 20:12:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 41682 invoked from network); 8 Dec 2007 20:12:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Dec 2007 20:12:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=rquadling@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.146.179 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 209.85.146.179 wa-out-1112.google.com Received: from [209.85.146.179] ([209.85.146.179:38181] helo=wa-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 12/79-51488-89AFA574 for ; Sat, 08 Dec 2007 15:12:09 -0500 Received: by wa-out-1112.google.com with SMTP id l24so2417932waf for ; Sat, 08 Dec 2007 12:12:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=sZ448jYq7jdZCMlrweT56okgovj0jFzcO0fsKd6S1TM=; b=gIcWINonRFik7sPeeG8S9+Rxjut42GEKNkc00pEeRuSzkYfEXGJxMK+djwxKfS23UJAz6OHavVNVD1GWJzdGfp+kcxxJlNQu0Ec4u0Zj7X8g+z9Gmk6P8K+yK3aXTyaD/V6id0qeu+hkUyMEzGHgpj35c2x4TTqY6APWijvtVD8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Wq8r9XkXz5JHWUmS4RXhx4z7SGDP9Fg+CpBU3euS+tXtG4CrDpYRKFYxeh1XY/kwSL9nwLG+23kaPJkZ1XdGapHLA7lUKpXluyKqf/fpMwX2OS7vUYSfGf3yVKGFD7jRimvHX6nOclfZY3XxHAODi39OUYxvnii6Lz+8NE/yiug= Received: by 10.114.195.19 with SMTP id s19mr3898898waf.1197144724375; Sat, 08 Dec 2007 12:12:04 -0800 (PST) Received: by 10.114.210.8 with HTTP; Sat, 8 Dec 2007 12:12:04 -0800 (PST) Message-ID: <10845a340712081212v7cbd1b6am4020eb3f49544f14@mail.gmail.com> Date: Sat, 8 Dec 2007 20:12:04 +0000 Reply-To: RQuadling@GoogleMail.com To: Lokrain Cc: internals@lists.php.net In-Reply-To: <345fd5cd0712070816m2c0d4a22hd03f91abff2405ae@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <475713B2.4030802@iamjochem.com> <475719ED.8050306@zend.com> <200712052110.37023.larry@garfieldtech.com> <47576AEF.4030306@omegavortex.net> <5474E017-DF97-4B91-8FE0-7D6831E64F56@bitxtender.com> <4EE0727E-ABBA-490D-B247-8C6E9A9727BA@gmx.net> <345fd5cd0712070815k55eac42fh14d5685039c03113@mail.gmail.com> <345fd5cd0712070816m2c0d4a22hd03f91abff2405ae@mail.gmail.com> Subject: Re: [PHP-DEV] Namespace From: rquadling@googlemail.com ("Richard Quadling") On 07/12/2007, Lokrain wrote: > Hello all, > > I just wanted to drop an opp. Just to see the logic, when we have > programming structure class, interface, function, if statement, switch > statement etc, we have bracers encapsulation. This is the logic that most > programming language give to show a programmer that something is inside > something. We here have namespace with the same idea, and no bracers. > > Conclusion: namespaces are not logical => no thanks > > PS. By the way, I do not think that any workarounds on that logic will not > be nice. > I'm trying to understand the argument against using braces. And that has led me to the following question. Assuming no braces, how would I put code OUTSIDE of the namespace in a single file.