Re: Type hinting
| From: | David Soria Parra | Date: | Thu, 27 May 2010 15:22:51 +0000 |
| Subject: | Re: Type hinting | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-48522@lists.php.net to get a copy of this message | ||
On 2010-05-27, Zeev Suraski <zeev@zend.com> wrote:
> I'm strictly against having two solutions. It's the worst outcome we
> could reach IMHO - it means we're unable to decide which is better,
> so we support both (kind of like a hi-tech version of
> http://bit.ly/9I8dHw). I think it's the one solution
> that's worse
> than implementing strict typing only - it does mean that I would
> actually support having strict typing only over having both. Still,
> I think having auto-converting type hints is by far the best solution.
+1 from me for this. I think two solutions is not the right way and we should
try to make the type system consistent for the user. Therefore +1 for
auto-converting.