3 ms·
Have been following this since 2015-2016. The proposal got bikeshedded to destruction. What we wanted was a SIMPLE pipe opearator that pipes preferrably unary f
by phplovesong 5y ago
Have been following this since 2015-2016. The proposal got bikeshedded to destruction. What we wanted was a SIMPLE pipe opearator that pipes preferrably unary functions and composes them to a single expression.
Then began the sheedding.
Why does pipes haveto deal with async? Async is 99.9% IO realated, and now it has to be shoehorned into something thats by nature sync.
On top of that now theres a magic variable so you could pipe functions accepting multiple params.
He beauty of a pipeline is that its naive, and forces a certain code style, makin testing more easy, and code more elegant.
Today im on the fence, as im not liking what the proposal has become.