Re: [RFC] Scalar Type Hints v0.2
| From: | Andrey Andreev | Date: | Mon, 02 Feb 2015 08:55:37 +0000 |
| Subject: | Re: [RFC] Scalar Type Hints v0.2 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81568@lists.php.net to get a copy of this message | ||
Hi,
On Mon, Feb 2, 2015 at 10:41 AM, Andrea Faulds <ajf@ajf.me> wrote:
> Hi Dmitry,
>
>> On 2 Feb 2015, at 07:02, Dmitry Stogov <dmitry@zend.com> wrote:
>>
>> As I already told, in my opinion, version 0.1 was the perfect solution that
>> fit into PHP semantic very well.
>
> I don't like the original. Weak types work to a degree, but they don't fulfill the
> use case of a lot of developers, and consequently the RFC wasn't too popular outside internals.
>
I still think that caller-controlled "strict mode" doesn't fulfill
that use case either.
Cheers,
Andrey.