Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101469 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88460 invoked from network); 1 Jan 2018 09:15:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jan 2018 09:15:27 -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:17060] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CF/50-18298-E2CF94A5 for ; Mon, 01 Jan 2018 04:15:26 -0500 Message-ID: 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:15:19 -0000 Lines: 1 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=response 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") wrote in message news:e425ecf3-4ef8-826d-bf4c-3c7b588e1c1f@rhsoft.net... > > > >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? I know that it would take a HUGE amount of effort to go through my massive code base to put typehints on every function and method, but for what benefit? Unless I can measure a definite performance gain then the lack of benefits would not justify the cost. -- Tony Marston