RE: [PHP-DEV] Type hinting - Request for Discussion
| From: | Dennis Haarbrink | Date: | Thu, 09 Jul 2009 13:02:57 +0000 |
| Subject: | RE: [PHP-DEV] Type hinting - Request for Discussion | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44870@lists.php.net to get a copy of this message | ||
> -----Oorspronkelijk bericht-----
> Van: Paul Biggar [mailto:paul.biggar@gmail.com]
> Verzonden: donderdag 9 juli 2009 14:40
> Aan: Dennis Haarbrink
> CC: internals@lists.php.net
> Onderwerp: Re: [PHP-DEV] Type hinting - Request for Discussion
>
> You must learn what these quirks are. Likewise, every developer must
> learn the quirks of the "type hinting" as they will almost certainly
> be required to interact with code that uses it.
>
> In an extreme case, suppose that we completely balls-ed up the
> semantics of type checks to be really really hard to use, but people
> used them anyway. That would lead to a sharp learning curve. The
> people who are against this proposal, or any other, know they will be
> required to use it when it comes in, and have an interest in making
> sure it is clean (whatever that means in each case). We shouldn't
> dismiss their objections on the argument that they arent required to
> use it. If its in the language, they are required to learn it.
>
> Paul
>
>
>
> --
> Paul Biggar
> paul.biggar@gmail.com
Thanks for this elaboration, I totally see your point.
Regards,
Dennis Haarbrink