Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91531 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69992 invoked from network); 7 Mar 2016 21:15:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2016 21:15:58 -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.123 cause and error) X-PHP-List-Original-Sender: php@fleshgrinder.com X-Host-Fingerprint: 212.232.28.123 mx202.easyname.com Received: from [212.232.28.123] ([212.232.28.123:48064] helo=mx202.easyname.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0D/21-59133-A8FEDD65 for ; Mon, 07 Mar 2016 16:15:57 -0500 Received: from cable-81-173-133-29.netcologne.de ([81.173.133.29] helo=[192.168.178.20]) by mx.easyname.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1ad2VL-0007gc-Kg for internals@lists.php.net; Mon, 07 Mar 2016 21:15:51 +0000 Reply-To: internals@lists.php.net References: <1F.91.55238.41F10D65@pb1.pair.com> <56D42CD3.6020602@gmail.com> <56D57DF4.8000906@gmail.com> <56D5D2AD.6070805@gmail.com> <56D5DDA6.4080607@fleshgrinder.com> <40.73.36499.548B6D65@pb1.pair.com> <56D6BBD0.5010505@gmail.com> <56D73386.3000903@fleshgrinder.com> <86.68.21983.A2508D65@pb1.pair.com> <56D86C00.6000904@fleshgrinder.com> <56dd744b.8157620a.cddfc.74ed@mx.google.com> To: internals@lists.php.net Message-ID: <56DDEF7B.6080309@fleshgrinder.com> Date: Mon, 7 Mar 2016 22:15:39 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56dd744b.8157620a.cddfc.74ed@mx.google.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lnwiRUrhwfBeCKDN2q0epMkDl6i1kWd9a" Subject: Re: [PHP-DEV] [RFC Proposal] var keyword deprecation/removal From: php@fleshgrinder.com (Fleshgrinder) --lnwiRUrhwfBeCKDN2q0epMkDl6i1kWd9a Content-Type: multipart/mixed; boundary="uJEasVrVCdkrE1xBk712WsFF42RvxcPoP" From: Fleshgrinder Reply-To: internals@lists.php.net To: internals@lists.php.net Message-ID: <56DDEF7B.6080309@fleshgrinder.com> Subject: Re: [PHP-DEV] [RFC Proposal] var keyword deprecation/removal References: <1F.91.55238.41F10D65@pb1.pair.com> <56D42CD3.6020602@gmail.com> <56D57DF4.8000906@gmail.com> <56D5D2AD.6070805@gmail.com> <56D5DDA6.4080607@fleshgrinder.com> <40.73.36499.548B6D65@pb1.pair.com> <56D6BBD0.5010505@gmail.com> <56D73386.3000903@fleshgrinder.com> <86.68.21983.A2508D65@pb1.pair.com> <56D86C00.6000904@fleshgrinder.com> <56dd744b.8157620a.cddfc.74ed@mx.google.com> In-Reply-To: <56dd744b.8157620a.cddfc.74ed@mx.google.com> --uJEasVrVCdkrE1xBk712WsFF42RvxcPoP Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 3/7/2016 10:14 AM, Tony Marston wrote: > [...] Mind you, those languages were maintained by groups of > competent professionals and not an army of chimpanzees. I will not reply fully to your last message because it was yet again littered with personal insults and an extremely aggressive tone. I already complained earlier about your tone and I protest at this point again. Please read some code of conducts out there and maybe those that are currently being discussed to be added to PHP. Should you truly believe that I am a complete idiot (or chimpanzee), so be it, I can life with that. I will also refrain from listing all the time intervals I have spent with PHP and/or other languages. This is a professional talk and not a---excuse my french---dick-measuring contest. I for one enjoy the disagreement because we can all learn from each other. In Austria we have an idiom that says "Du kannst auch von einem Idioten etwas lernen," this boils down to "you can also learn something from an idiot". Just think about it, every person on this earth knows at least something you don't. Ergo, maybe just maybe you can learn something from the army of chimpanzees here. On 3/7/2016 1:27 PM, kelerest123@gmail.com wrote: >> Change for the sake of change is bad, no argument there. Change for th= e >=20 >> sake of progress is not and totally normal. >=20 > Can you please specify what kind of progress do see in the `var` keywor= d removal? I see only a BC break. > > Very best regards, > Kubis Pandian-Fowler The main reason in my opinion to go done this road till PHP 8 or 9 is simplification for users based on UI/UX research and a very few papers on language design (links and other material posted earlier). Duplication and exceptions in handling (e.g. argument order) result in various problems for users: - Is this an alias or does it work differently? Let's check the docs. - This is an alias, we should not use it because it might get removed. - This is an alias, it might add performance overhead. - What was the argument order here again? Let's check the docs. - ... Just to name a few silly things that I encounter regularly. We even had some really evil example here in this thread were the _var_ keyword was used to indicate to a DIC that this property requires injection. After all it is about simplification of the language's interface. On 3/7/2016 8:02 PM, Walter Parker wrote: > It is a disagreement over language design, the Python way vs the Perl > way. > The Perl way says: There is more than one way to do things > The Python way says: There is one correct way to do things. Other > methods should be removed. Yes, that is the core of the problem here. --=20 Richard "Fleshgrinder" Fussenegger --uJEasVrVCdkrE1xBk712WsFF42RvxcPoP-- --lnwiRUrhwfBeCKDN2q0epMkDl6i1kWd9a 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 iQIcBAEBCAAGBQJW3e+AAAoJEOKkKcqFPVVrEHYP/iKpM3gr1zWSDn91vM4DFYl4 CDmaCcXoJ8t9suuze/QIgDG47krEw8SyqK3o/nrkM0GrZ3rQvtnEDZlcQNixQNhe nFK3IdlRVF5PgV/obSIHrW+wgH7hqckrJGhGCGDfm1+PqznT7WOBMVwhifguOeA4 3+9PP7+NVRQNcSHxXQuTHVku8UFSLQyrFyVJvHT6YGPyHf8RWMt1B4J1Acv8v8Pv QrjNW/5P5OUJuZ4WU+K+jvhoNaEsO8ziOFfiosMF8OTd9s1yUSDOqQvqSalTtykI yLDHvMMqQO9MrFJogT+BSbNIvpPjZbvSC+zePaynFVqY3n4CWQ7ajRytYjmuGJZ3 Qc/4w2WEYoy5dUw2Zpt+jGXqO2O3ILzjXJ4Jv7sfcTaR/bsmw5UH0fMrJFUIxvto mjngbjgUbTWhbbMZHBLZcbxsWAPxdSlWiwrYxRNwvTUggktl21DMOfRAG8l1DT/G cBI/btNaaIV5q0+wFqKrmSQsbSupJDd2GEcdTykIz5haE4X61rLhY9cEhtE0U2Ku DWAvTA+JBNNdoOlZ+/JQU5SRR/dRT3l3UKvNCsXfhcYe8u2hB1SsHHh+ratKziBN MThZQH9z33n05Qa0FzDDKJDvhmWHQ0Uo/sa1ZEjXvDJsA0zCVcWttUkc2DxXgjy0 jlU8s/6If3TsPzwXxMv5 =3OYr -----END PGP SIGNATURE----- --lnwiRUrhwfBeCKDN2q0epMkDl6i1kWd9a--