Re: [RFC][DISCUSSION] - Immutable classes and properties
| From: | Paul Jones | Date: | Mon, 12 Dec 2016 19:56:08 +0000 |
| Subject: | Re: [RFC][DISCUSSION] - Immutable classes and properties | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-97380@lists.php.net to get a copy of this message | ||
> On Dec 12, 2016, at 13:36, Andrea Faulds <ajf@ajf.me> wrote:
>
> Consider that some popular applications of immutability ultimately contain a reference to
> something mutable: PSR-7's immutable HTTP message objects point to mutable streams
Which subverts its overall promise of immutability (and the streams are not the only place where the
promise of immutability is subverted).
--
Paul M. Jones
pmjones88@gmail.com
http://paul-m-jones.com
Modernizing Legacy Applications in PHP
https://leanpub.com/mlaphp
Solving the N+1 Problem in PHP
https://leanpub.com/sn1php