Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92988 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28181 invoked from network); 30 Apr 2016 15:05:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Apr 2016 15:05:36 -0000 Authentication-Results: pb1.pair.com header.from=php@fleshgrinder.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php@fleshgrinder.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fleshgrinder.com from 77.244.243.87 cause and error) X-PHP-List-Original-Sender: php@fleshgrinder.com X-Host-Fingerprint: 77.244.243.87 mx106.easyname.com Received: from [77.244.243.87] ([77.244.243.87:34332] helo=mx201.easyname.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 08/7A-58459-EB9C4275 for ; Sat, 30 Apr 2016 11:05:35 -0400 Received: from cable-81-173-133-226.netcologne.de ([81.173.133.226] helo=[192.168.178.20]) by mx.easyname.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1awWSV-0001RV-GH; Sat, 30 Apr 2016 15:05:27 +0000 Reply-To: internals@lists.php.net References: <8ea990da-1fe7-256c-4e08-0b30715c8e8a@gmail.com> To: Marco Pivetta , Stanislav Malyshev Cc: Sara Golemon , PHP internals Message-ID: <5724C9A7.5080504@fleshgrinder.com> Date: Sat, 30 Apr 2016 17:05:11 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="NVfM0n296KwHkNa9aiLPIRQmQCIheja71" X-ACL-Warn: X-DNSBL-BARRACUDACENTRAL Subject: Re: [PHP-DEV] [RFC] Pipe Operator From: php@fleshgrinder.com (Fleshgrinder) --NVfM0n296KwHkNa9aiLPIRQmQCIheja71 Content-Type: multipart/mixed; boundary="TFAaI1kW77n3giv1XQutAgeVVqWaJHp3u" From: Fleshgrinder Reply-To: internals@lists.php.net To: Marco Pivetta , Stanislav Malyshev Cc: Sara Golemon , PHP internals Message-ID: <5724C9A7.5080504@fleshgrinder.com> Subject: Re: [PHP-DEV] [RFC] Pipe Operator References: <8ea990da-1fe7-256c-4e08-0b30715c8e8a@gmail.com> In-Reply-To: --TFAaI1kW77n3giv1XQutAgeVVqWaJHp3u Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 4/30/2016 8:49 AM, Marco Pivetta wrote: > I think this is much more readable/clear than any event-driven or > procedural approach. > We know exactly what is going on, we will get clear stack traces (this > could need some fine-tuning of the current PR - I didn't try it out yet= ) > and we will be able to introduce intermediate steps with ease. In addit= ion > to all that, this will ease reactive programming by a lot, as piping is= a > natural fit for streams and all abstractions around streams. >=20 > The syntax is also already effective in F# (you can write very expressi= ve > and easy to understand code with it) and now also landed in Hack. >=20 > I'd say +10 to this proposal :D >=20 I am with Stanislav on this one or rather meh. It also goes against what you usually advocate: there should be only one way to achieve things (I remember your /fluent interface/ example very well). Unless you changed your mind regarding that. Hence, it is nice syntactic sugar but it does not allow us to solve problems that we cannot solve already. --=20 Richard "Fleshgrinder" Fussenegger --TFAaI1kW77n3giv1XQutAgeVVqWaJHp3u-- --NVfM0n296KwHkNa9aiLPIRQmQCIheja71 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXJMmsAAoJEOKkKcqFPVVrwRYP/3CGPMWCCz70VhiPtj5pS7xe 5Z+uyiOG4l/3O4n1wDUbTeqlmp/ljhOBLE7wjBOECtXrA+5wS4wBMx7PfdK7wis9 Ll3qrnOA8Wzg0HW1aKU4UF53JtAl4+kUO2GyrDVuPaOebU03QUBYy4J69aZ8lOFG q1ZevfOp8m2a6kFPdSsCUFmH7CUu6wYsfrSYadBuSCdgVU1KkPxcSg3c2S0iNBHQ 6ngM1xbLK+vCkTrT0q0SuuRjo72hNS9I1hQsTze8gq/bmHlOXZ8cGHrPDlpA+kLn 6cABXOABjBRgX3lzf9P8fiSuaVi9fPQRH2q0vdErje3enNCuBlnHzEDNgP1xiY/F 7LewrmpP6PJ9aDerHjC6lFAzlEPya11YeMfTHMvzJxXXWsN8LjqabrBqaPmq5pN8 S8H4Uu862NamHoPZhF05t8nO8WznC3Kh+BXqFDQ4zMgnD59bUAY0TF0mzcCkLW3S WqvbvDIWluWPXEwMuTY5EXfXtvFYrAZL8ZBdFEqPJa63iFfUY1hWn3bYxH9a1K62 E04hGqaqDlH6jKA931eNnerWrmynxu+atN5SbCmBgsmsYP2U/+5mMAM1qyYfSunZ blj7Y8yKh0zC+6LwYLmu6SLuI3h+TuNf52cpNLJA8EesilDlu3z0VzFXmSdWoOmB cGJ7OYY7MIKDMiYdjse2 =mRwR -----END PGP SIGNATURE----- --NVfM0n296KwHkNa9aiLPIRQmQCIheja71--