Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36339 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28755 invoked from network); 22 Mar 2008 21:21:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Mar 2008 21:21:10 -0000 Authentication-Results: pb1.pair.com header.from=david.coallier@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=david.coallier@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.146.177 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: david.coallier@gmail.com X-Host-Fingerprint: 209.85.146.177 wa-out-1112.google.com Received: from [209.85.146.177] ([209.85.146.177:2496] helo=wa-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BB/47-16027-44875E74 for ; Sat, 22 Mar 2008 16:21:09 -0500 Received: by wa-out-1112.google.com with SMTP id l24so2550703waf.17 for ; Sat, 22 Mar 2008 14:21:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=09fUP9ukoNhrsS7FZyNlwSRfIaEAyfqJXrPXSE/tqh8=; b=KB4owSJKffxMAW17mJplQy5CEr8zPVe4bQqB30QNKU1NtPHcKQsLBNP/wShdg/pVfb+HqEHROi3QYx8uOf82kqOHVPiiVETDQgeoLvoCbsaJYu1/9WlQPjIaUIwLN400zSTjwP1P/hXSAvD32YEFJBln0UH1IbKvA6fchfOJ2cg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=XXEMX7xHRIqRt5pLyDBHKTsysh+BVe1rt2vEbm7O71tcYQ2PuN9BkjKqIWmf4MyfKObtC+zw9NRDDX1Q6Vv6iF9zLcqd+/enl7ex0oglVZ8zDyyj5eEUJMK6OkG9VCfhryZpMeiseCY5rbpzD+lAOUvFkPmbYo6D5TvwroiStWI= Received: by 10.114.155.1 with SMTP id c1mr8645829wae.105.1206220866373; Sat, 22 Mar 2008 14:21:06 -0700 (PDT) Received: by 10.115.22.20 with HTTP; Sat, 22 Mar 2008 14:21:06 -0700 (PDT) Message-ID: Date: Sat, 22 Mar 2008 17:21:06 -0400 Sender: david.coallier@gmail.com To: "Gregory Beaver" Cc: "Marcus Boerger" , internals@lists.php.net In-Reply-To: <47E5609F.9030808@chiaraquartet.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1789567073.20080321223647@marcus-boerger.de> <47E5609F.9030808@chiaraquartet.net> X-Google-Sender-Auth: 34bd7ecc0991ee3d Subject: Re: [PHP-DEV] Re: [RFC] Namespace syntax decision From: davidc@php.net ("David Coallier") Why can't we stick to consistency ? PHP (classes, functions, interfaces, abstracts, etc) are all done the same way. What is the "need" of changing this ? I see reasons like : - I don't like indentatation (Answer to that: PHP must make you quite sad then... and I can't imagine what python makes you feel like...) So I think what we should do here is either reassemble the ideas (That were of course lost since the initial discussions). - Why did we want to call it a package ? Simply because it behaves exactly like packages ? - Why do we decide to have a whole new way of declaring namespaces ? (IE: No braces) - Since we decided to have "namespaces" what is "so" bad about having nested namespaces? Do we want to be "that" different from others? I think having a solution that looks a lot like other software languages is something that will not only bring us users but also bring us a lot of love from other language developers (when they have to use PHP (because yes, some have to use other languages)). Greg came up with a pretty good patch for multiple namespaces per file. However it does not follow the "PHP Coding Practices" - In terms of style and characters used. Greg? Stas? Dmitry? Could we get a "resume" of the backstage talks you guys spoke about? I'm sure you did so just a little taste to inform us all of "why" we decided to change PHP's general syntax would be awesome :) Thanks, D