On 5/3/2016 4:53 AM, Terry Cullen wrote:
> ​Doesn't Nikic's scalar objects (https://github.com/nikic/scalar_objects)
> more or less achieve the same thing while also cleaning up the std lib?
> 
> $ret = scandir($arg)
>     ->filter(function(){})
>     ->map(function(){})
>     ->merge($someOtherArray);
> 

It is indeed a much better approach. The more I read and think about the
pipe operator the more I am against it.

-- 
Richard "Fleshgrinder" Fussenegger

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to