Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101470 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89887 invoked from network); 1 Jan 2018 09:22:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jan 2018 09:22:05 -0000 X-Host-Fingerprint: 62.31.75.76 76.75-31-62.static.virginmediabusiness.co.uk Received: from [62.31.75.76] ([62.31.75.76:18253] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3F/A0-18298-BBDF94A5 for ; Mon, 01 Jan 2018 04:22:05 -0500 Message-ID: <3F.A0.18298.BBDF94A5@pb1.pair.com> To: internals@lists.php.net References: <72392123-d37b-26df-6886-218f48205f8a@fleshgrinder.com> <58A5ABDF-AA25-46D4-83E7-4DE72E3DFF5E@gmail.com> <757270790.33iDQ9MZ2V@vulcan> <4b55eed1-8656-ff70-e4e9-ad5e40213405@rhsoft.net> <73.EE.47595.179574A5@pb1.pair.com> <50caeb2d-62b6-167d-726e-e0e11ea201f3@lsces.co.uk> In-Reply-To: Date: Mon, 1 Jan 2018 09:21:57 -0000 Lines: 2 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 16.4.3564.1216 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3564.1216 X-Posted-By: 62.31.75.76 Subject: Re: [PHP-DEV] [RFC] [DISCUSSION] Scalar Pseudo-type From: TonyMarston@hotmail.com ("Tony Marston") "Dustin Wheeler" wrote in message news:A93010E9-7E52-4144-81B8-6FB6F47D85FF@ncsu.edu... > >> >> On Dec 31, 2017, at 10:33 AM, "lists@rhsoft.net" >> wrote: >> >> >> >>> Am 31.12.2017 um 11:27 schrieb Tony Marston: >>> "Michael Morris" wrote in message >>> news:CAEUnE0e67q2HMX8bmFjy5Mx8GMfxD=dNbSwF9cSuYntyn8xP8A@mail.gmail.com... >>>> >>>>> On Sat, Dec 30, 2017 at 5:37 AM, Lester Caine >>>>> wrote: >>>>> >>>>> >>>>> Not being able to vote, many of us have no option to complain about >>>>> the >>>>> way things are going. Currently there seems to be several styles of >>>>> PHP >>>>> form the nice and simple untyped version I moved to from very strictly >>>>> typed hard compiled code I'd been using up until then, through to >>>>> current code which is reliant on third party things like PSR and >>>>> Composer and expects only strictly typed PHP. >>>> >>>> This is born of the fact that while ignoring datatype makes learning >>>> PHP >>>> easier, it makes using it harder - especially when testing. >>> I strongly disagree. I have been using PHP since 2001 and I have never >>> used type hinting in any form whasoever. Does it make testing more >>> difficult? No, it does not >> >> "I have never used type hinting in any form whasoever" - so how can you >> be qualified at all to tell anything about the difference how it would be >> if you would have used it? > >Could the discussion be re-centered around the RFC at-hand rather than >measuring "ego"? It seems that any thread that has both rhsoft and Tony >involved devolves into a competition of opinion without much attempt to >meet in the middle or understand one another. > >Thanks. = Any attempt to make typehinting (or type enforcement as it has now become) is simply adding complications to the language which do not provide benefits to the greater PHP community, just a minority of poor coders who want the language to trap the bugs that they create in their code. There are some of us out there who are capable of writing bug-free code without type enforcement, so this RFC (and anything else connected with type hinting/enforcement) is something we don't need to use, therefore it has no benefits for us. -- Tony Marston