Re: [RFC] [DISCUSSION] Compact Object Property Assignment

From: Date: Tue, 17 Mar 2020 01:49:31 +0000
Subject: Re: [RFC] [DISCUSSION] Compact Object Property Assignment
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-109090@lists.php.net to get a copy of this message
On Mon, Mar 16, 2020 at 8:29 PM Marco Pivetta <ocramius@gmail.com> wrote: > That kinda makes the entire feature quite useless/uninteresting to me: if a this does is > desugaring into a set of assignments, then I'm not sure what its advantage is. I'm sorry about that, but the motivation of the RFC is quite clear in the "Motivation" section. If those goals are not interesting to you then COPA won't help you. > I was kinda hoping for an atomic state mutation across multiple fields, heh... Sounds like another RFC (that may make it in PHP 9.x+ ;-D)

« previous php.internals (#109090) next »