Re:PHP 8.5 Adds Pipe Operator: What it means
by lawn on Tuesday August 05, 2025 @05:31AM
(#44795993)
Introducing a new variable every single line adda a bunch of cognitive load compared to the pipe operator.
It's much easier skim with the pipe operator and it's more robust too (for example reordering is a pain with variables, it's easy to introduce errors).
It's much easier skim with the pipe operator and it's more robust too (for example reordering is a pain with variables, it's easy to introduce errors).