Re: [RFC] Scalar Type Hinting With Casts (re-opening)
| From: | Andrea Faulds | Date: | Mon, 14 Jul 2014 17:13:51 +0000 |
| Subject: | Re: [RFC] Scalar Type Hinting With Casts (re-opening) | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-75493@lists.php.net to get a copy of this message | ||
On 14 Jul 2014, at 18:11, Alain Williams <addw@phcomp.co.uk> wrote:
> Since we are looking at doing this what good reason is there for not adopting
> the syntax & some of the semantics of Hack ?
>
> http://docs.hhvm.com/manual/en/hack.annotations.php
>
> NIH is not a good reason.
>
> NIH = Not Invented Here
We are using hack’s syntax (int, float, bool, string, no integer/double/boolean aliases). We are
not using Hack’s semantics for reasons that have been discussed endlessly before in this thread
and others, reasons which are not NIH.
--
Andrea Faulds
http://ajf.me/