Re: Introducing "Array Of" RFC
| From: | Sara Golemon | Date: | Mon, 20 Jan 2014 21:06:21 +0000 |
| Subject: | Re: Introducing "Array Of" RFC | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-71353@lists.php.net to get a copy of this message | ||
>> Dictionary<int, string>[] foo <-- Is that *really* what you want an
>> array of int->string dictionaries to look like? Really?
>
> In every (popular) dynamic language on a planet (Perl, Python, Ruby,
> Javascript, Lua, Groovy) it looks roughly like that (within syntax
> variations):
>
> foo = [Dictionary()]
>
> 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."
Hint, I'm talking about you.
-Sara