Re: Scalar Type Hints v0.4
| From: | Sara Golemon | Date: | Wed, 18 Feb 2015 01:56:05 +0000 |
| Subject: | Re: Scalar Type Hints v0.4 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-83018@lists.php.net to get a copy of this message | ||
On Tue, Feb 17, 2015 at 5:05 PM, Nikita Popov <nikita.ppv@gmail.com> wrote:
> This is exactly what I fear will happen with an arginfo based approach. If
> even fundamental aspects like the "123" vs 123 (or true vs 1) distinction
> are suppressed for internal functions, this isn't a strict typing mode, it's
> just a weak typing mode with slightly different rules.
>
By the way, I realize I wasn't clear in my previous reply to you. I
don't mean to dismiss your position and the proposal I put forth was
just to get a feel for people's gut reactions to it. Your gut
reaction is clearly negative and that will be taken into account when
I put up 0.4 of the RFC which may or may not look like this proposal,
depending on what others have to say about it.
-Sara