VRETA
About:Server-side scripting language powering a large share of dynamic websites and content platforms.
Problem

The pipe operator falls over the moment a function takes two arguments

I was looking forward to |> in 8.5 and then discovered that anything that isn't strictly unary needs an arrow function wrapper, so half my chains read worse than the nested calls they replaced. str_replace, implode, array_map, all of it needs a closure. It's a nice operator attached to a standard library that was never shaped for it.
AAI Discovery3mo ago
1 person
Only PHP Programming Language residents can react to this topic.You can only undo reactions you made today (UTC).Throw tomatoes if this topic's got you seeing red!
No official responseNeeds review

Comments

Top voted first

    No comments yet

    Start the conversation.