Re: Type hinting - Request for Discussion
| From: | Paul Biggar | Date: | Thu, 09 Jul 2009 11:02:53 +0000 |
| Subject: | Re: Type hinting - Request for Discussion | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44862@lists.php.net to get a copy of this message | ||
Hi Dennis,
On Thu, Jul 9, 2009 at 11:49 AM, Dennis Haarbrink<dennis@born05.nl> wrote:
> The most important thing is that it is _optional_, you have the _choice_ to
> use it.
Sorry to go a little bit off-topic, but this idea has been bandied
around a lot over the last week, and I'd like to respond to it.
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.
As a result, the argument that "you dont like it, so what, you have a
choice not to use it", is simply incorrect. Though at some point the
majority may have to overrule the views of the minority, please do not
dismiss them out of hand with this logic.
Thanks,
Paul
--
Paul Biggar
paul.biggar@gmail.com