Re: [RFC:generics]
| From: | Sara Golemon | Date: | Wed, 20 Apr 2016 03:58:44 +0000 |
| Subject: | Re: [RFC:generics] | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-92518@lists.php.net to get a copy of this message | ||
On Tue, Apr 19, 2016 at 7:54 PM, guilhermeblanco@gmail.com
<guilhermeblanco@gmail.com> wrote:
> 1- Even though mentioned, I'd still use "extends" or "implements"
> instead of
> "is" (which would be a new pseudo-reserved keyword) to enforce data type
> consistency and prevent developers to potentially referring to one thing
> while consider another.
>
FWIW, This is why Hack chose "as", which is already a special keyword
and is much more concise than extends/implements.
-Sara