Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69537 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44511 invoked from network); 9 Oct 2013 14:17:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Oct 2013 14:17:28 -0000 Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.172 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.214.172 mail-ob0-f172.google.com Received: from [209.85.214.172] ([209.85.214.172:41895] helo=mail-ob0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0A/D0-39948-77565525 for ; Wed, 09 Oct 2013 10:17:28 -0400 Received: by mail-ob0-f172.google.com with SMTP id vb8so658197obc.31 for ; Wed, 09 Oct 2013 07:17:25 -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=bF2iDkZhvtLBHkvw/CPRXgHsl1Kf+MqQfU7n+GbnqOw=; b=AbrXyBUxeQni8VuEb8Od9UtAcRchFEjjNJuFy3vP+yBuv/GcLCtG7W/jr3kOGVGzFL AyH/lqdqunEPy8Lyg5Te5b7I/+qwhC6eFdxLf4ndQZufjn90LF6E3F52f5dg7I3s1oup dGKdrTAki+Udl16Vsd6ai21SMWxj08F0FIbSBKoMxdsZK+MsTQH67uBQwlFJlTrkF77h F2WZMg6OrJvl6iUp9lgHK6TlhlK/qBeQ5wws3uPwJTgGTUuQNsyoFrdzMYZbq2fGLbo/ 0K2CbFZqJ1SmHk1iJfzQEKT1Mq4/f8ChAof9iUVsCt8uYHQoZbp3feJXVYYKHotia+AS Ysag== MIME-Version: 1.0 X-Received: by 10.60.118.70 with SMTP id kk6mr6079935oeb.22.1381328244999; Wed, 09 Oct 2013 07:17:24 -0700 (PDT) Received: by 10.76.12.135 with HTTP; Wed, 9 Oct 2013 07:17:24 -0700 (PDT) In-Reply-To: <52528482.8060902@php.net> References: <52528482.8060902@php.net> Date: Wed, 9 Oct 2013 08:17:24 -0600 Message-ID: To: gooh@php.net Cc: internals Content-Type: multipart/alternative; boundary=047d7b3a9b125c8c5e04e84f8bf0 Subject: Re: [PHP-DEV] Automatic Property Initialization From: morrison.levi@gmail.com (Levi Morrison) --047d7b3a9b125c8c5e04e84f8bf0 Content-Type: text/plain; charset=ISO-8859-1 I quite like the shortened constructors. You did a good job of explaining how it it would work in a variety of situations and I have no questions on the behavior of the basic proposal. I don't like the Alternate Syntax: the difference between the current behavior and the proposed is triggered only by not having a body. I could perhaps be persuaded but currently I'm 33/66 on it. At first I didn't like the General Automatic Assignment either, but currently I am 50/50. I'd like to hear some more discussion on this point, so if you have an opinion on it could you please speak up? My only thought is that shortened syntax for non-constructors would be less helpful if we had accessors, but they don't necessarily interfere with each other and we don't have accessors so I think that's okay. --047d7b3a9b125c8c5e04e84f8bf0--