Re: Introducing "Array Of" RFC

From: Date: Thu, 16 Jan 2014 10:54:31 +0000
Subject: Re: Introducing "Array Of" RFC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14  Groups: php.internals 
Request: Send a blank email to internals+get-71176@lists.php.net to get a copy of this message
Hi all,

On Thu, Jan 16, 2014 at 7:49 PM, Matthieu Napoli <matthieu@mnapoli.fr>wrote:

> The syntax merely hide an ugly design. If you would write the same in
>> normal PHP then probably everyone would agree that it is bad design.
>>
>
> How is type checking a bad design?


Type checking is not bad.

Alternatively, DbC (design by contract) may be useful.
Cleaner and could be faster.

Regards,

--
Yasuo Ohgaki
yohgaki@ohgaki.net


Thread (46 messages)

« previous php.internals (#71176) next »