Re: Introducing "Array Of" RFC
| From: | Stas Malyshev | Date: | Mon, 20 Jan 2014 21:27:10 +0000 |
| Subject: | Re: Introducing "Array Of" RFC | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-71359@lists.php.net to get a copy of this message | ||
Hi!
>> I wonder why it is enough for them? Are they all missing something very
>> important?
>>
> To quote someone who's skill and abilities I respect: "Just because
> they do it some way in X, doesn't mean it belongs in PHP."
That is true. But this is not "just because" - I'm not arguing about any
specific syntax or even semantics. I'm talking about all of them not
even going in that general direction and still being fine. That makes me
question if the need for generics is that great and if they actually are
a good fit for a dynamic language, at least in a way that they are
presented - i.e. as type checking mechanism, not as code generation
mechanism. I could repeat the regular arguments why I think they are not
if you'd like - I did it on this list like 100 times and everybody is
tired and hating me for that already, but I could do it again on popular
request. So it's not the only argument. It is an additional argument
providing some perspective.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227