# [VOTE] Compact Object Property Assignment

- Thread: https://staging.externals.io/message/109483
- Original archive: https://news-web.php.net/php.internals/109483
- Started by Jakob Givoni on 2020-03-31T11:49:43+00:00
- Messages: 10
- RFC: Compact Object Property Assignment (Declined) — https://staging.externals.io/rfc/compact-object-property-assignment.md
- Reply by email to internals@lists.php.net
- More for agents: search with https://staging.externals.io/search.md?q={query} · RFCs at https://staging.externals.io/rfc.md · JSON API at https://staging.externals.io/api · documentation at https://staging.externals.io/llms.txt

---

## #109483 — Jakob Givoni — 2020-03-31T11:49:43+00:00

URL: https://staging.externals.io/message/109483#109483

Heads up!

I've moved the RFC to the voting phase:

https://wiki.php.net/rfc/compact-object-property-assignment

Voting is open until the end of Monday, April 13 (your time zone :-).

Good night,
Jakob

---

## #109484 — Sara Golemon — 2020-03-31T14:07:09+00:00

URL: https://staging.externals.io/message/109483#109484 · In reply to: #109483

> I've moved the RFC to the voting phase:
> https://wiki.php.net/rfc/compact-object-property-assignment
>
> On the third vote (which syntax would be better), I didn't vote because my
answer is "None of the above". They're all kind of awful.  I'm not against
the concept of COPA, but every option on there makes me search for the
"Nope" button, and I lack the imagination to suggest anything better.

-Sara

---

## #109485 — Jakob Givoni — 2020-03-31T14:28:30+00:00

URL: https://staging.externals.io/message/109483#109485 · In reply to: #109484

Hi Sara!


>
> On the third vote (which syntax would be better), I didn't vote because my answer is "None of the above". They're all kind of awful.  I'm not against the concept of COPA, but every option on there makes me search for the "Nope" button, and I lack the imagination to suggest anything better.

:-D
No worries. But for sure we won't get any further without imagination
at this point :-)

---

## #109486 — Larry Garfield — 2020-03-31T15:41:46+00:00

URL: https://staging.externals.io/message/109483#109486 · In reply to: #109483

> Heads up!
> 
> I've moved the RFC to the voting phase:
> 
> https://wiki.php.net/rfc/compact-object-property-assignment
> 
> Voting is open until the end of Monday, April 13 (your time zone :-).
> 
> Good night,
> Jakob

I really like that you're including a poll for the no-votes.  Thank you for that.  However, as is they're all running together and making it hard to tell where one ends and another begins.  Is there a way to separate out the tables more?

--Larry Garfield

---

## #109490 — Jakob Givoni — 2020-03-31T23:01:10+00:00

URL: https://staging.externals.io/message/109483#109490 · In reply to: #109486

>
> I really like that you're including a poll for the no-votes.  Thank you for that.  However, as is they're all running together and making it hard to tell where one ends and another begins.  Is there a way to separate out the tables more?

I don't know. In which direction are they all running together for you?
Maybe you need to send a screenshot because I don't really see the problem...

Jakob

---

## #109491 — Larry Garfield — 2020-03-31T23:04:20+00:00

URL: https://staging.externals.io/message/109483#109491 · In reply to: #109490

> 
> > […]
> 
> I don't know. In which direction are they all running together for you?
> Maybe you need to send a screenshot because I don't really see the problem...
> 
> Jakob

Someone else fixed it about an hour ago.

--Larry Garfield

---

## #109498 — Andrea Faulds — 2020-04-01T15:35:28+00:00

URL: https://staging.externals.io/message/109483#109498 · In reply to: #109483

Hi Jakob,

Jakob Givoni wrote:
> Heads up!
> 
> I've moved the RFC to the voting phase:
> 
> https://wiki.php.net/rfc/compact-object-property-assignment
> 
> Voting is open until the end of Monday, April 13 (your time zone :-).
> 
> Good night,
> Jakob
> 

Maybe it would be good to allow multiple-choice voting on why the RFC 
was not voted for, and also to provide an option in the syntax vote for 
not liking any of the syntax options, rather than just “Irrelevant”.

Thanks,
Andrea

---

## #109499 — Jakob Givoni — 2020-04-01T17:06:54+00:00

URL: https://staging.externals.io/message/109483#109499

Hi Andrea,


>
> Maybe it would be good to allow multiple-choice voting on why the RFC
> was not voted for, and also to provide an option in the syntax vote for
> not liking any of the syntax options, rather than just “Irrelevant”.

Right.
I considered multiple choice for the reason, but decided against it
since I was afraid it would lead to everybody just ticket most of the
reasons.
I think I can glean more info when you're limited to the most important one.

As for not liking any of the syntaxes - just don't vote on that poll then.
It seems to me it's pretty obvious it's not about the syntax anyway -
nothing would please the people who find COPA useless and any syntax
would be great for people who find it useful!
Anything in between just feels like discussing tabs vs spaces again
and again :-D I'm too old for that.

best,
Jakob

---

## #109500 — Bishop Bettini — 2020-04-01T20:44:36+00:00

URL: https://staging.externals.io/message/109483#109500 · In reply to: #109499

>
> It seems to me it's pretty obvious it's not about the syntax anyway -
> nothing would please the people who find COPA useless and any syntax
> would be great for people who find it useful!
> Anything in between just feels like discussing tabs vs spaces again
> and again :-D I'm too old for that.
>

Not quite for me.

I find the idea of COPA useful, but I am concerned about the mechanism, of
which syntax choice is a component. I want a choice that (a) has good
ergonomics, (b) doesn't complicate the parser, (c) is available to use, and
(d) allows for the most general conversion of named values to object
properties, while (e) validating the properties in the normal way.

Overall, I'm a "no, not right now" on this. I'd be happy to start/join a
working group to advance the concept, tho.

---

## #109615 — Jakob Givoni — 2020-04-14T06:35:21+00:00

URL: https://staging.externals.io/message/109483#109615 · In reply to: #109483

Voting is over and the RFC has been declined.

Thank you for your participation.

Hope to see some progress on the Constructor Argument Promotion and
Named Parameters projects soon instead :-)

Best,
Jakob


>
> Heads up!
>
> I've moved the RFC to the voting phase:
>
> https://wiki.php.net/rfc/compact-object-property-assignment
>
> Voting is open until the end of Monday, April 13 (your time zone :-).
>
> Good night,
> Jakob
