RE: [PHP-DEV] Nightmares on type hints, annotations, and aop...
| From: | François Laupretre | Date: | Fri, 20 Feb 2015 16:52:08 +0000 |
| Subject: | RE: [PHP-DEV] Nightmares on type hints, annotations, and aop... | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-83324@lists.php.net to get a copy of this message | ||
> De : Zeev Suraski [mailto:zeev@zend.com]
>
> So no, I don't think we're making a bigger deal out of it than it is.
> Scalar type hints are a huge deal, and the fact you can emulate them in
> userland code today doesn't change that in any way.
Agreed, of course, but I respectfully suggest you may be too negative : I'd love to see poetic
intent more often, and considering type hints as contracts is a powerful way to explore the concept,
that very few suggested.
Cheers
François