Re: [RFC] Scalar Type Hints
| From: | Leigh | Date: | Thu, 01 Jan 2015 17:52:46 +0000 |
| Subject: | Re: [RFC] Scalar Type Hints | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-80067@lists.php.net to get a copy of this message | ||
On 1 January 2015 at 14:05, Nikita Popov <nikita.ppv@gmail.com> wrote:
>
> While in favor of introducing scalar type annotations, I'm against this
> proposal in particular. I've held a different position in the past, but by
> now I'm thoroughly convinced that if we introduce scalar type declarations,
> they should be strict. No wiggling, no casting.
>
I agree. This is the same sentiment I have expressed in previous
discussions, and I'm sticking with it.
+1 for "scalar type annotations"
-2 for the implicit type conversion.