> On Jan 1, 2021, at 13:14, Larry Garfield <la...@garfieldtech.com> wrote:
> 
>> The web dev discourse is one-sided with regard to immutability, 
> 
> Yes, if you've heard any of the regular whining about PSR-7 being an 
> immutable object you'd think it's one-sided in favor of mutability.

To characterize it as "whining" is pretentious. The complaints against the 
incomplete and inconsistent immutability of PSR-7 have merit.

As one of the sponsors of PSR-7, I have come to regard its quasi-immutability 
as one of its main weaknesses, one that we of FIG should have (but failed) to 
predict would be more trouble than it was worth. The fewer people who use it, 
the better.


-- 
Paul M. Jones
pmjo...@pmjones.io
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

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

Reply via email to