Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59969 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69642 invoked from network); 15 Apr 2012 21:21:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Apr 2012 21:21:59 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.45 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.210.45 mail-pz0-f45.google.com Received: from [209.85.210.45] ([209.85.210.45:49512] helo=mail-pz0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CD/80-64571-5FB3B8F4 for ; Sun, 15 Apr 2012 17:21:57 -0400 Received: by dacx6 with SMTP id x6so5936189dac.18 for ; Sun, 15 Apr 2012 14:21:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=y4IuGGMby/zSnYA+gBCeTtbCOzwfA3bSm6b+6RH/2xo=; b=McmL+6/y+W2VDMxDnegECch4DLM9LKx6ZjkDppjp8AJwHPrpmpbae291SCL4YLzBCe OikeyexVOBylL8JrTocYHne1E+0vb33Qku5PRLzEQfXlmWBOrOh38Vz/voTBBnilkLoN 948SQAa2lbqK/mtLC638o48Dt6kOPwfwxdes6XgIZGvg/VtidrBWzI37bjs+HXCclp19 d2JPw5Cq/jrYSmVkDldVrgpUFQ+Om0gQv2gHQTuzlh+ggDZk872XJ7Efh1Cz8DMScbzZ 9wi9QSetdSXRW20WRENBMXVXcxQ6/lW+hmIuDCzSq4AZgqswpc9Pl7F+36U7UyFmBbwO IW0A== MIME-Version: 1.0 Received: by 10.68.201.65 with SMTP id jy1mr22761055pbc.5.1334524914138; Sun, 15 Apr 2012 14:21:54 -0700 (PDT) Received: by 10.68.189.34 with HTTP; Sun, 15 Apr 2012 14:21:54 -0700 (PDT) In-Reply-To: References: <4F876943.8030105@gmail.com> <4F877777.8050806@gmail.com> <4F8782CC.8030205@gmail.com> <4F87C9B0.4080809@gmail.com> <4F8AA9CF.6000003@gmail.com> Date: Sun, 15 Apr 2012 23:21:54 +0200 Message-ID: To: Kris Craig Cc: David Muir , John LeSueur , internals@lists.php.net Content-Type: multipart/alternative; boundary=047d7b15afe1737dba04bdbe4ba7 Subject: Re: [PHP-DEV] [RFC] New .phpp File Type for Pure-Code PHP Scripts From: tyra3l@gmail.com (Ferenc Kovacs) --047d7b15afe1737dba04bdbe4ba7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > > > The gain has been described by myself and others quite a bit already. As > far as I can tell, the fact that some frameworks/libraries wouldn't be > compatible with this doesn't negate the unrelated advantages that do exis= t. > Worst-case scenario, you just wouldn't use this with those frameworks. > usually we tend to accept changes only if the pros remarkably overweight the cons. introducing a new language construct which target audience is just a small percentage of the potential userbase seems to have a hard time getting accepted. (annotations was an example of this, even thought that the syntax was thought out, and it was/is already used in the wild (Doctrine2, Symfony2) the majority of the voters seemed to be against it) of course you can succeed where others failed, but I think it would greatly increase the chances if: 1, the intention of the change is clearly laid out, and easily understood via reading the RFC 2, the change would make some useful real-life scenario possible or significantly easier 3, the change would make the least impact on the pre-existing code(minimal required BC impact) 4, the change is in line with the "PHP way". I think that the current proposals are lacking in those aspects. but to go back to your proposal: I think that it would be nice, if you could update the RFC based on the discussion, as it will be harder and harder to join the discussion, if one has to read the RFC then read all of the related discussion (scattered through many threads) in the correct order to be able to catch up with the current status. you mentioned that some ideas or alternatives was presented but you didn't wanted to incorporate those, until you finish sorting those out in the mailing list and consensus is reached. which is a good idea at first, but if/when the discussion is abadoned/derailed/etc. then there it is a good chance, that the original idea is lost too. I really liked the https://wiki.php.net/rfc/closures/object-extension in this regard (even though that in the end that was also abandoned so it isn't consistent with the actual implementation). It describes the ideas which were presented, compares the pros/cons, etc. I really liked that. So I would suggest you to update you RFC accordingly (and while I think that the separate nophptags RFCs should be kept separate, but mentioning what deviates yours from the other two could be a good idea too). "Over the years, people have occasionally called for one of a few fundamental changes" would be nice if you could link those calls if you have them, maybe they have some arguments that we didn't see yet (or maybe we could see that some of those are PEBKAC) "There will be no BC breaks." depending on the implementation (making the SAPIs aware of the new file extension or the parser to the new