Re: Pipe Operator v2
| From: | Thomas Bley | Date: | Thu, 21 Jul 2016 00:05:55 +0000 |
| Subject: | Re: Pipe Operator v2 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94600@lists.php.net to get a copy of this message | ||
to me this code is perfectly readable and static code analysis is only complaining about missing
semicolons at the end of the lines and short variable names:
$x = loadConfig();
$x = buildDic($x);
$x = getApp($x)
$x = getRouter($x)
$x = getDispatcher($x, $request)
$x = dispatchBusinessLogic($x, $request, new Response())
$x = renderResponse($x)
$x = buildPsr7Response($x)
$response =emit($x);
I'm not sure if there is a ORM or database library out there which constructs SQL queries with
non-oop calls, maybe you can give a real-world example.
Regards
Thomas
Sara Golemon wrote on 21.07.2016 01:42:
> With the branching of 7.1, and after some reflection on the previous
> feedback, I'd like to reopen discussion of the Pipe Operator RFC
> https://wiki.php.net/rfc/pipe-operator which I had previously
> put on
> hold. I've changed much of the argument wording of the proposal, but
> not the substantive feature set. If you still feel it's unworkable,
> I'd like to encourage you to respond with what you think would make it
> workable (if anything). Thanks.
>
> -Sara
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>