Re: [VOTE] Scalar Type Hints
| From: | Pavel Kouřil | Date: | Mon, 09 Feb 2015 08:19:16 +0000 |
| Subject: | Re: [VOTE] Scalar Type Hints | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-82238@lists.php.net to get a copy of this message | ||
On Mon, Feb 9, 2015 at 9:04 AM, Dmitry Stogov <dmitry@zend.com> wrote:
> this is more or less true. :(
> The proposal is presented in an unfair way to include strict typing without
> the ability to vote for weak types only.
>
> Despite of semantic arguments, the implementation is a bit immature and
> introduces slowdown for any code without type hints.
>
> Thanks. Dmitry.
>
>
This is something I mentioned several times - there should be two
votes. One for weak types and one for adding the strict typing on the
weak typing as a bonus. Not bundling it into one voting, it makes it
feel "forced".
Pavel Kouril