Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82568 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2234 invoked from network); 12 Feb 2015 23:13:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Feb 2015 23:13:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=marcio.web2@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=marcio.web2@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.182 as permitted sender) X-PHP-List-Original-Sender: marcio.web2@gmail.com X-Host-Fingerprint: 209.85.217.182 mail-lb0-f182.google.com Received: from [209.85.217.182] ([209.85.217.182:41476] helo=mail-lb0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 10/74-15420-D933DD45 for ; Thu, 12 Feb 2015 18:13:33 -0500 Received: by mail-lb0-f182.google.com with SMTP id f15so11570684lbj.13 for ; Thu, 12 Feb 2015 15:13:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=IiCUbqexqeAPnNRrX8vJhWokoizfecRXBWnBwrjlcrU=; b=pmLWwPGkfmQcFvoIERgGCTY3g9ou28RJ9LalHIrsO2Pg+sxFBz8wiJxyIvYeZxO1bQ oCVSeCqII6W3w8EdMvy2Hr1AOxxNIDWmwvnUguoORm1XueAElYKktzsG/PNIlQQkC3CG Q9slI/xmxpKPULxj4ILTzMH/dsn+wpdsAt5D/TF1y8EW40vfe941LMR3FnFfEmzx8185 Fv3hD6AZrS/YLFv7hkJCC9SQjbuhLUtIrQzw7srsRuLZsPGvcI+KC7TDCzbr6gSavq+M jC8A6kSnbuwAwJZCGGFJxEXxNR5fauzQpuAxbMT40KXpbMTC+eLhyFc6vRVZv3pkOJe2 OMBw== X-Received: by 10.112.37.197 with SMTP id a5mr5417240lbk.19.1423782809270; Thu, 12 Feb 2015 15:13:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.21.101 with HTTP; Thu, 12 Feb 2015 15:13:09 -0800 (PST) Reply-To: marcio3w@gmail.com In-Reply-To: References: <54DC788E.7000000@hoa-project.net> <54DCADFA.6070908@hoa-project.net> Date: Thu, 12 Feb 2015 20:13:09 -0300 Message-ID: To: Stelian Mocanita Cc: reeze , "Ivan Enderlin @ Hoa" , PHP internals Content-Type: multipart/alternative; boundary=001a113473409581de050eec4419 Subject: Re: [PHP-DEV][RFC][VOTE] Group Use Declarations From: marcio.web2@gmail.com (Marcio Almada) --001a113473409581de050eec4419 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Stellan, >Hello Marcio, > I am inclined to vote no for a couple of reasons: > 1. This is not a BC-break, I would move the vote to PHP 7.1. The reasoning behind this is that the tools in the ecosystem will have a lot > of work to get on par with PHP 7 (talking here about stuff like phpmd, phpcpd, phploc, newrelic, codeclimate, ides, etc). Since this is > not as resonant as the other changes for 7, I would give those people some breathing room. Well, we already have new shiny features for PHP that would require updates: for instance the return typehints and possibly the scalar type hints. Any code analyzer that would like to stay relevant will need to update anyway and perhaps updating these tools is much easier than you think :) if you see the patch it's quite minimal and the syntax is easy to parse. I could compromise to send pull requests and update some of these tools (at least the open source ones) in time for PHP7 release. Other reasons to show you this is not a blocker and tailoring the RFC for 7.1 is not the best choice: - It will take a while until we see projects with PHP7 as a minimum version requirements so if we want the feature it's a good idea to add it to a major release. - Feature freeze date is possibly March, 2015, possible release date is Mid October 201. This means we will have plenty of time to update tooling. This should not hold any language :) > 2. I am not a big fan of the syntax, I would much more like a python style syntax (yes, I am aware it requires a new reserver keyword) :) I have a hunch that a python copy syntax will not be proposed because of the BC break you just mentioned ^ Other languages are using glob braces syntax and it simply works :) Perhaps you could give it a chance. Many people reply to me saying that they preferred python syntax but after a while they started to like the proposed syntax too, for PHP. This is a very basic feature and I strongly believe that, after all the research and discussion, it's a good fit for PHP. Perhaps you might want to read the discussion again before take your decision. See the previously discarded options and the reasons why they were discarded. Maybe you might end up agreeing that the current proposed syntax is a good choice. Thanks for opening dialog and bringing legit questions before take a decision. Good voting! Sincerely, M=C3=A1rcio Almada --001a113473409581de050eec4419--