Re: Analysis of property visibility, immutability, and cloning proposals
| From: | Marc | Date: | Tue, 29 Dec 2020 08:26:01 +0000 |
| Subject: | Re: Analysis of property visibility, immutability, and cloning proposals | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-112630@lists.php.net to get a copy of this message | ||
On 28.12.20 21:23, Larry Garfield wrote:
> There's been a number of discussions of late around property visibility and how to make
> objects more immutable. Since it seems to have been well-received in the past, I decided to do a
> complete analysis and context of the various things that have been floated about recently.
>
> The full writeup is here:
>
>
> https://peakd.com/hive-168588/@crell/object-properties-and-immutability
>
> I hope it proves stimulating, at least of discussion and not naps.
>
Thanks for the nice write up Larry!
Is there a reason you didn't mention the proposal for immutable classes?
(probably because it never went into a final RFC)
https://externals.io/message/94913#94913
https://externals.io/message/79180#79180