Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82570 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9308 invoked from network); 12 Feb 2015 23:55:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Feb 2015 23:55:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=stelian.mocanita@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stelian.mocanita@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.41 as permitted sender) X-PHP-List-Original-Sender: stelian.mocanita@gmail.com X-Host-Fingerprint: 209.85.215.41 mail-la0-f41.google.com Received: from [209.85.215.41] ([209.85.215.41:38625] helo=mail-la0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 35/D5-15420-87D3DD45 for ; Thu, 12 Feb 2015 18:55:37 -0500 Received: by lamq1 with SMTP id q1so13251703lam.5 for ; Thu, 12 Feb 2015 15:55:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=OFFcacUU/uSrPxb+XJV+/Bqs/XBYAfCMwgq+9jkP9x4=; b=Q2lCTvwYoq4VXnWw+AdG2gx7zXZJMqphamXLgxQqHqCAeziJYfGF6enuiNVmGBAdAw /7w7lq43FfdFbtkU5cVUK6c6DU8+8KF6kXNVb9PjXx6BpFFRSL7btIMtwsQaPOnoqKxk gDTDd/5+FMuWZVAoqmjE7g53jRTPOAmcgAzs9RB06pZkKdKD7uT0aOuBsd0vlIXixJ8g iffM2Ly0Km0tCU4k9AeYq1VYwIARG1SUrGHtPT/VDSVedC2cQgtXMwTCN54R2QC4jeGy 4g3ywNG0bahs56n7DkGfxTfBVtFrjqL7uDfuypDsQnMbykp09oYD9X1++HezPqni4FLe crvA== MIME-Version: 1.0 X-Received: by 10.152.45.37 with SMTP id j5mr5524165lam.110.1423785333648; Thu, 12 Feb 2015 15:55:33 -0800 (PST) Sender: stelian.mocanita@gmail.com Received: by 10.112.73.10 with HTTP; Thu, 12 Feb 2015 15:55:33 -0800 (PST) In-Reply-To: References: <54DC788E.7000000@hoa-project.net> <54DCADFA.6070908@hoa-project.net> Date: Fri, 13 Feb 2015 00:55:33 +0100 X-Google-Sender-Auth: HeWcNrWeyzh94jcOzM2t2-T7cJ8 Message-ID: To: marcio3w@gmail.com Cc: reeze , "Ivan Enderlin @ Hoa" , PHP internals Content-Type: multipart/alternative; boundary=001a11c28c100c72e5050eecdb1c Subject: Re: [PHP-DEV][RFC][VOTE] Group Use Declarations From: stelianm@php.net (Stelian Mocanita) --001a11c28c100c72e5050eecdb1c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, Feb 13, 2015 at 12:13 AM, Marcio Almada wrote: > 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 t= o > parse. > I am not saying your RFC is the deal breaker, I am saying that the overall effort grows. > > I could compromise to send pull requests and update some of these tools (= at > least the open source ones) in time for PHP7 release. > Print screen taken, will hold you to your words. > 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 :) Perha= ps > 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 propos= ed > syntax too, for PHP. > Will compile your PR and give it another try with a bit more open mind and see how it goes > > 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 migh= t > 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! Thanks for taking the time to read through and explain your angle. > > Sincerely, > M=C3=A1rcio Almada > --001a11c28c100c72e5050eecdb1c--