Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93047 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20333 invoked from network); 3 May 2016 18:52:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 May 2016 18:52:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@fleshgrinder.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php@fleshgrinder.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fleshgrinder.com from 212.232.28.124 cause and error) X-PHP-List-Original-Sender: php@fleshgrinder.com X-Host-Fingerprint: 212.232.28.124 mx203.easyname.com Received: from [212.232.28.124] ([212.232.28.124:54956] helo=mx203.easyname.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 36/B6-03860-983F8275 for ; Tue, 03 May 2016 14:52:58 -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 1axfRG-0000jf-D6; Tue, 03 May 2016 18:52:54 +0000 Reply-To: internals@lists.php.net References: <4fc01507-3d07-2309-a4e4-4cad7325249b@gmail.com> <39071a01-a42c-0952-b3a8-b4769c79b56b@fleshgrinder.com> To: Sara Golemon , PHP internals Cc: Terry Cullen , Stephen Coakley Message-ID: <0ac3be89-6fb4-610a-ef89-0928f264f96c@fleshgrinder.com> Date: Tue, 3 May 2016 20:52:43 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="K3sTO6jCc3PpSxsgndUHPk92dv2nC4d5J" X-ACL-Warn: X-DNSBL-BARRACUDACENTRAL Subject: Re: [PHP-DEV] [RFC] Pipe Operator From: php@fleshgrinder.com (Fleshgrinder) --K3sTO6jCc3PpSxsgndUHPk92dv2nC4d5J Content-Type: multipart/mixed; boundary="uRoW4jckW4UdtvlKEaWKco8gIuERObi7f" From: Fleshgrinder Reply-To: internals@lists.php.net To: Sara Golemon , PHP internals Cc: Terry Cullen , Stephen Coakley Message-ID: <0ac3be89-6fb4-610a-ef89-0928f264f96c@fleshgrinder.com> Subject: Re: [PHP-DEV] [RFC] Pipe Operator References: <4fc01507-3d07-2309-a4e4-4cad7325249b@gmail.com> <39071a01-a42c-0952-b3a8-b4769c79b56b@fleshgrinder.com> In-Reply-To: --uRoW4jckW4UdtvlKEaWKco8gIuERObi7f Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 5/3/2016 8:45 PM, Sara Golemon wrote: >> The pipe operator is also just a work around for poorly designed >> libraries in this case and yields more poorly designed libraries. >> > Pretending that poorly designed libraries exist is na=C3=AEve. PHP is > dominated by poorly designed software but it manages to work because > it responds with practicality. >=20 > It's practical to provide a functional version of object method chainin= g. >=20 I really do not know what you want to tell me with that first sentence. The solution for the problem is already baked into PHP and usable: intermediate variables with meaningful names. Yes, this might sometimes be overly verbose. Yes, this might tempt some people to create meaningless variable names. All in all no argument that was brought up so far showed that this kind of operator is really useful to solve something that cannot be already solved. It is always just about source code formatting and laziness to write out some variables. Sorry --=20 Richard "Fleshgrinder" Fussenegger --uRoW4jckW4UdtvlKEaWKco8gIuERObi7f-- --K3sTO6jCc3PpSxsgndUHPk92dv2nC4d5J 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 iQIcBAEBCAAGBQJXKPOAAAoJEOKkKcqFPVVrJ1wQAKYlgFm5GlRh/MLsUCcnr4Ni KurwV7oFOQoZa1m8RvT27WLCUzITg023SgsUUxiWAC9ut8xz69mR82Jzbd4RjdcE 9MrT5Dvtj+uQuAsjZn7Su7UWq3LSgmWiCMybi4tzYYpxPA47gC507njNKChy8Rbh 8aR5C2RDRQtdflzpgB6+kLUjNmZDQlRzENe/bj9Z5okd/ewMtFSweqPl0HQL2E5F s6XveVtva8ON/2wykCswnq+P5Sl0mMnkq5gY5VBuSUz8o4+LHu+HxX8UrfYXBYdF UDWeLfnzRloJLaDYQeO6L8BT/KXvVGord9pMx7yWyX3wRT9SQMMQ3Rh1LhAW0MoH 95t5MTDG9O4XZj3C68nxca04+cATPSjvvNdo4kg/axA34LNJvjb0/gxFcDNYWXKN czIHMrj88vLUZGi+vmfbq4cBzFvR5tdALJX2W4NUQ5OpsYwqzu6nwPvL8riphCrf HUoo1ey6Iqw1279en97Bm2hHrTQJTlnJETM1Edn9nKkVRkJtH6Jb2zOVPF4jQkvX kKEoqqYf2JWTGHEIHNAHVVerDMRWT8B7YVGPXacB5iHkxf1NjESuLmUCRGNHhNNu utHF7aioiPgkrCgVEJXB1wnzNq2SnKgDdvPthYOkrAUd/zVAfDurePYPd9QCyCqM BPwczbaNfQh3MzvXFu1a =+l/R -----END PGP SIGNATURE----- --K3sTO6jCc3PpSxsgndUHPk92dv2nC4d5J--