Re: [RFC] [DISCUSSION] Scalar Pseudo-type
| From: | lists@rhsoft.net | Date: | Sun, 31 Dec 2017 15:33:39 +0000 |
| Subject: | Re: [RFC] [DISCUSSION] Scalar Pseudo-type | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101466@lists.php.net to get a copy of this message | ||
Am 31.12.2017 um 11:27 schrieb Tony Marston:
"Michael Morris" wrote in message news:CAEUnE0e67q2HMX8bmFjy5Mx8GMfxD=dNbSwF9cSuYntyn8xP8A@mail.gmail.com..."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?On Sat, Dec 30, 2017 at 5:37 AM, Lester Caine <lester@lsces.co.uk> wrote: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 notNot 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.