Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65112 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85837 invoked from network); 23 Jan 2013 13:45:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jan 2013 13:45:30 -0000 Authentication-Results: pb1.pair.com header.from=theanomaly.is@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=theanomaly.is@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.173 as permitted sender) X-PHP-List-Original-Sender: theanomaly.is@gmail.com X-Host-Fingerprint: 74.125.82.173 mail-we0-f173.google.com Received: from [74.125.82.173] ([74.125.82.173:46561] helo=mail-we0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B1/02-01592-879EFF05 for ; Wed, 23 Jan 2013 08:45:29 -0500 Received: by mail-we0-f173.google.com with SMTP id r5so305846wey.32 for ; Wed, 23 Jan 2013 05:45:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=yXXShUZLEO5UBrgbcEd3lpilMJL0PyesNlmxv/5Dqg0=; b=cJzhqc4bf7S4kmZSqKt7KlcLlEfrE9orXk9dz9w4q36zegTSLDLEO5Eh9f2HTvf8TJ IofPuHOLC7aHudzSK1/9mlyhd8VRDZ1AOOiaKlHKAOCKHR0rJmI2nfWO2lz24KY2fWZ9 0CgJ0+SKfcyld9V/Cx5UV7XUaudNAlpn8E+lNPv6vsdHewLlFPfRs5rKQ9A7C94FP3mw 7cZfDcx53w9Y9SbyywwJVMMt5UXum9tvEL33jO5W/UEszLvxZVxKpVrManSvX2CjSjVk leozIkPC70/bt3PdOTdNpv60yk1pSaXEbnni+/z1SnRr7o3WLYpYFxnNodiQN1SOITpU KA9w== MIME-Version: 1.0 X-Received: by 10.180.81.39 with SMTP id w7mr2684334wix.15.1358948726155; Wed, 23 Jan 2013 05:45:26 -0800 (PST) Received: by 10.227.43.19 with HTTP; Wed, 23 Jan 2013 05:45:25 -0800 (PST) In-Reply-To: <50FE7579.1010409@zerocue.com> References: <50F840F4.7080704@zerocue.com> <50FE7579.1010409@zerocue.com> Date: Wed, 23 Jan 2013 08:45:25 -0500 Message-ID: To: Clint Priest Cc: PHP Developers Mailing List Content-Type: multipart/alternative; boundary=bcaec5555034172a3f04d3f4e8b5 Subject: Re: [PHP-DEV] [VOTE] Property Accessors for 5.5 From: theanomaly.is@gmail.com (Sherif Ramadan) --bcaec5555034172a3f04d3f4e8b5 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Jan 22, 2013 at 6:18 AM, Clint Priest wrote: > > On 1/17/2013 12:20 PM, Clint Priest wrote: > >> I'm happy to say that Property Accessors is ready for a vote for >> inclusion in 5.5 release. >> >> Nikita and I (as well as Stas a bit) have all been working hard to make >> this happen for 5.5, voting and the specifications are here: >> >> https://wiki.php.net/rfc/**propertygetsetsyntax-v1.2#**voting >> >> > For those that have voted against this proposal, are there any > clarifications that can be made or questions answered? > > There seems to be a lot of userland support for this proposal from people > who don't have voting rights. > > > I just wanted to add my two cents here on top of what has already been mentioned about added complexity with minimal benefit (which I mostly agree with). For me, the proposal sounded intriguing from the start, but I noticed a lot of discussion around this RFC early on. This led me to believe that it was going to be a popular feature, which I believe it is. Unfortunately, the discussion seemed to grow so quickly that I could not find the time to follow it all. The discussion also seemed to be torn into a hundred different directions at once. Mostly just the regular internals noise that I'm used to, but with a few moments of confusion on implementation. I didn't really get it when it was being discussed. I was actually kind of confused about what exactly was being proposed and I saw lots of changes in the RFC and then the newly added RFC that was supposed to be a compliment to this one. After seeing the patch and getting a chance to test it out, though, I realized that the feature seems really confusing in terms of behavior. It felt like a lot was being added, but in reality it was just a lot of code complexity, not a lot of functionality. Don't get me wrong, I liked it, but I also disliked the fact that it introduces language changes that aren't easy to grasp or document. To me this means we've borderline changed the behavior of a property (which most PHP users currently understand to be a variable) into potential methods. This is basically saying we can now completely change the behavior of a property from a storage unit to a functional unit. That's a bit of a scary thought to me, because it makes me question everything I know about properties in PHP. I think you did a wonderful job on this RFC and the code, as well as everyone involved. Clearly, there is a demand for this. However, I'm not sure I would feel comfortable seeing the after effects of this feature in PHP. For what it's worth, this was not an easy vote for me. I debated it for several days before I made my decision and I tried to be as objective as possible. I just couldn't bring myself to vote it in for 5.5. > -- > -Clint > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --bcaec5555034172a3f04d3f4e8b5--