Re: Re: Flexible type hinting
| From: | Ilia Alshanetsky | Date: | Thu, 02 Jul 2009 13:04:52 +0000 |
| Subject: | Re: Re: Flexible type hinting | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44647@lists.php.net to get a copy of this message | ||
On 2-Jul-09, at 9:04 AM, Robert Cummings wrote:
Ilia Alshanetsky wrote:Have you using existing array or class type hinting?Paul's proposal is some part does not make sense because it allows weak type hinting, which should not be used if you need type hinting. The whole idea about type hinting is definition of strict interfaces, not loosely based one. That's just my opinion, which admittedly I feel fairly strongly about.It's a hint, not enforcement. IMHO hinting about something is not strict, it's a suggestion.