Re: [RFC] [VOTE] Immutable/final/readonly properties
| From: | Nicolas Grekas | Date: | Tue, 17 Mar 2020 13:03:37 +0000 |
| Subject: | Re: [RFC] [VOTE] Immutable/final/readonly properties | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-109102@lists.php.net to get a copy of this message | ||
> I believe we had a long enough and fruitful discussion period,
> so I have just opened the vote at
> https://wiki.php.net/rfc/write_once_properties
> since I didn't want to add any significant change to the proposal
> any more.
>
> The vote will run for 2 weeks and it will be closed on 2020-03-31.
>
Hi everyone,
I voted against the RFC because it has too many rough edges to me.
eg cloning doesn't work, the initialization needs special rules, etc.
I don't think these issues can nor should be figured out later on: they are
low-level conceptual issues IMHO.
We should not build on them before they're resolved (a land field of
special cases look like a big code smell to me).
I proposed an alternative behavior that removes all the issues.
I think it needs to be discussed more in-depth:
https://externals.io/message/108675#108753
Regards,
Nicolas