Re: What do we need strict scalar type hints for?
| From: | Andrea Faulds | Date: | Tue, 03 Feb 2015 22:29:16 +0000 |
| Subject: | Re: What do we need strict scalar type hints for? | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81743@lists.php.net to get a copy of this message | ||
Hi Sven,
> On 3 Feb 2015, at 19:07, Sven Drieling <sd@sven-drieling.de> wrote:
>
> What about scalar type declaration in userland?
It’s one of many suggestions. I really, really don’t think it’s a good idea.
Rather than having two models (as the RFC suggests), we’d have n models, where n is the number of
existent PHP frameworks and libraries. Every single application would have its own approach. It’d
be chaotic, and not terribly user-friendly.
--
Andrea Faulds
http://ajf.me/