Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71965 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14626 invoked from network); 2 Feb 2014 02:46:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Feb 2014 02:46:05 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.220.41 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.220.41 mail-pa0-f41.google.com Received: from [209.85.220.41] ([209.85.220.41:43773] helo=mail-pa0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F2/3F-30967-B61BDE25 for ; Sat, 01 Feb 2014 21:46:04 -0500 Received: by mail-pa0-f41.google.com with SMTP id fa1so5878970pad.0 for ; Sat, 01 Feb 2014 18:46:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=6+NA/QeDyM+rBdns+agzDqCDCwX3eCsT6YMSb4JL1kE=; b=YExM30h3gOx72b1b3CY7xOulSvGd31PEW9zN+glChj03bNue3jzNaRU5bcvcYnFi1q IMYDoFQIsKnncMvAL3wdTzNGQA/W/rW2cwnvSDkTNk49O63bbQEOZp8vxOsoqXTcFBk5 L9Q7+x8iSBy4CDILfrHOmKAZoMe0g8hHel/bjh5crFOhqR5ShWYQYTDrkHDyqY4Wki3l 0BXG5TFhXJIRmmtW7qveAzY6esfu5OgxhZj2BzVBRjU7nVRBfIqjgoNoCJiNiEd1bATJ LsOeJPEyrUtr7ofrgUk4n4YSGKMicnrKbIQFYx7oRTbYZRz27GJ6oADR6Iu+U6Lyvtg3 AQCQ== X-Gm-Message-State: ALoCoQmOP63O5EP3ZWkk/lCfMNGOtqqZ+Janimb2AG37/WtBMPBWnS1qZo6RLIZzM/2vO2V3Hc12 MIME-Version: 1.0 X-Received: by 10.68.108.130 with SMTP id hk2mr29688785pbb.16.1391309160080; Sat, 01 Feb 2014 18:46:00 -0800 (PST) Sender: php@golemon.com Received: by 10.70.77.164 with HTTP; Sat, 1 Feb 2014 18:46:00 -0800 (PST) X-Originating-IP: [173.252.71.189] In-Reply-To: References: <98.E0.35265.E17FBE25@pb1.pair.com> <52ED66CC.8070304@ajf.me> <52ED9D74.8080807@ajf.me> Date: Sat, 1 Feb 2014 18:46:00 -0800 X-Google-Sender-Auth: hHd5tHNDnu-QFoZW4FQ6fSTeX5Q Message-ID: To: Benjamin Eberlei Cc: Andrea Faulds , Gordon Oheim , PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [VOTE] Automatic Property Initialization From: pollita@php.net (Sara Golemon) On Sat, Feb 1, 2014 at 6:06 PM, Benjamin Eberlei wrote: > Imho HHVMs syntax has the massive flaw that you cannot use docblocks on > those properties anymore, which is not the case with this RFC. All other > things equal, this is why this RFC should clearly be favored. > > Also with typehints or - unlikely but possible - property-accesors the hhvm > syntax will become very verbose for the __construct line, wheras this RFC > can handle those cases without having to think about future compatibility. > Inclined to agree on the matter of getters/setters (though I regard the docblock issue as trivially solvable, and the typehint/verbosity issue as a non-issue). I've opened a discussion in the hhvm.dev group to look into this from that side, and removed my "No" vote for the time being. (I'm not sold on a "Yes" vote, however, as I'm not sure this buys us enough in its proposed form). -Sara