Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63332 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94766 invoked from network); 11 Oct 2012 01:28:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Oct 2012 01:28:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@mindplay.dk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@mindplay.dk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mindplay.dk from 209.85.220.170 cause and error) X-PHP-List-Original-Sender: rasmus@mindplay.dk X-Host-Fingerprint: 209.85.220.170 mail-vc0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:53696] helo=mail-vc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A9/50-27252-2B026705 for ; Wed, 10 Oct 2012 21:28:18 -0400 Received: by mail-vc0-f170.google.com with SMTP id fo14so1656259vcb.29 for ; Wed, 10 Oct 2012 18:28:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=pQ8VAB9V0+4oJuOAmRPZ5cChFWcFMyjjzwPcXZP5/KM=; b=h2PGM5YC6ZQpTyAJ1L0GcRbrVSt6MZzRCBt1EA40b0yz/fp/Fbq75n/c0krt4/eP/n tHy9ZoYDZ7aLSdXJNezvff9/+qQ88E1oOavsa3Yf935xp8Afzjd9WHJps/fM5mMG42op bjEjpVIiOaWdYE2pI0NdPY3wXT2ocSNAQU/hSuRp43zfCKEaxffKg3nX13CiiA3nBn2l DKtgrNJxFMh9VOpMJp0QsifWW+oS+ZWDyLJIVfWhOeNlb8KmCPxkfO94CjTvEEaA8cDK J15LtH9HawdSUqEwB/h2dGgypWCbolvPZ+3ockbUS8+dvWiSQIplZ+3TBCS10/VPf1DK vIlg== MIME-Version: 1.0 Received: by 10.58.226.131 with SMTP id rs3mr7775668vec.10.1349918895859; Wed, 10 Oct 2012 18:28:15 -0700 (PDT) Received: by 10.58.146.103 with HTTP; Wed, 10 Oct 2012 18:28:15 -0700 (PDT) In-Reply-To: <9570D903A3BECE4092E924C2985CE485612B4E9F@MBX202.domain.local> References: <9570D903A3BECE4092E924C2985CE485612B4E9F@MBX202.domain.local> Date: Wed, 10 Oct 2012 21:28:15 -0400 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=047d7bd6aed24366cc04cbbe7c9a X-Gm-Message-State: ALoCoQkFcO4cAO8Fc/96RDEjJ+Bxw9pDnQFjfLaOIjXosxEPZ8emIyqCnQIL+BRKtdiN+ynyplru Subject: Re: [PHP-DEV] [RFC] Propety Accessors v1.1 From: rasmus@mindplay.dk (Rasmus Schultz) --047d7bd6aed24366cc04cbbe7c9a Content-Type: text/plain; charset=ISO-8859-1 Just a couple of quick remarks. Clint wrote: > I'm not even sure that automatic backing fields are even desired, I never felt the need to have them in C# and the only reason they were included is because they were a part of Dennis's original proposal. Automatic backing fields are indeed necessary in C# for various technical reasons none of which have any bearing on the PHP language - Nikita explained this in another e-mail. So I vote for dropping automatic auto-implemented accessors. In PHP, an auto-implemented accessor really would be almost identical to a regular property anyhow. I would also add that the double-underscore convention for the field-name seems somewhat spooky to me - double-underscore is generally reserved for PHP internal stuff... now suddenly these would be userland-fields. Seems wrong. Clint, I am sorry these issue were not surfaced earlier... I do seem to recall sending a very long e-mail highlighting many of these issues a long while back though (?) ... I only watch the list with half an eye, but I usually speak up when I feel strongly about something. You're doing a great job here! I hope you you will see it through - this would be a fantastic feature which will make for better code architecture in so many ways. --047d7bd6aed24366cc04cbbe7c9a--