Re: What do we need strict scalar type hints for?

From: Date: Thu, 05 Feb 2015 08:47:03 +0000
Subject: Re: What do we need strict scalar type hints for?
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Thu, Feb 5, 2015 at 2:22 PM, Stanislav Malyshev <[email protected]> wrote:
> Hi!
>
>> True, but obviously, us who want strict typehints want to be able to do this:
>
> Obviously, but it doesn't mean whole language should be changed to serve
> one use case, especially the one that goes contrary to what happened in
> PHP for decades.

I understand that argument.

However I feel like the fact that it only affects your app (even if
you use a library relying on strictness) if you want to is not clear
for everyone replying here. Is this point clear for you?


-- 
Pierre

@pierrejoye | http://www.libgd.org


Thread (78 messages)

« previous php.internals (#81876) next »