RE: [PHP-DEV] Type hinting - Request for Discussion
| From: | Dennis Haarbrink | Date: | Thu, 09 Jul 2009 12:33:39 +0000 |
| Subject: | RE: [PHP-DEV] Type hinting - Request for Discussion | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44866@lists.php.net to get a copy of this message | ||
Hi Paul,
> -----Oorspronkelijk bericht-----
> Van: Paul Biggar [mailto:paul.biggar@gmail.com]
> Verzonden: donderdag 9 juli 2009 13:03
> Aan: Dennis Haarbrink
> CC: internals@lists.php.net
> Onderwerp: Re: [PHP-DEV] Type hinting - Request for Discussion
>
> Although the proposed checks are optional, nobody has a "_choice_" to
> use a new language feature. Though you may choose not to use a feature
> in your code for whatever reason, it will appear in code from your
> colleagues, clients, or upstream libraries. Every feature in PHP will
> at some point be put in front of every PHP developer.
>
I don't think this is a really valid argument.
I mean, libraries may have all kinds of quirks, you may not be satisfied with the supplied API or
maybe even the entire philosophy behind it, but that shouldn't stop you from using it or is it?
Regards,
Dennis Haarbrink