Hi,

Paul Jones wrote:

On Dec 12, 2016, at 13:36, Andrea Faulds <a...@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).

Indeed. It's not necessarily a good feature, don't get me wrong.

--
Andrea Faulds
https://ajf.me/

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to