Re: Scalar Type Intentions
| From: | Pierre Joye | Date: | Thu, 01 Mar 2012 09:48:47 +0000 |
| Subject: | Re: Scalar Type Intentions | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-58403@lists.php.net to get a copy of this message | ||
On Thu, Mar 1, 2012 at 10:39 AM, Sebastian Bergmann <sebastian@php.net> wrote:
> On 03/01/2012 04:13 AM, Pierre Joye wrote:
>>
>> However, following your logic, class type hinting was a mistake?
>
>
> The Type Hinting we currently have for arrays, callables, classes, and
> interfaces is not a mistake. Why? Because the types in question are not
> affected by the "type juggling".
That's a different discussion, your second argument is simply plain wrong.
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org