Re: Proposal for a new array function
| From: | Rowan Collins | Date: | Tue, 09 Feb 2016 15:49:30 +0000 |
| Subject: | Re: Proposal for a new array function | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-91167@lists.php.net to get a copy of this message | ||
guilhermeblanco@gmail.com wrote on 09/02/2016 15:41:
My personal take on this: Let's add just more 1 function over a 99999 function's array API, because I want to optimize 3 lines in my PHP code, and language lack of Generics while we still refuse to carefully think about a proper OO Collection API.If you're going to go with hyperbole, let me put the opposite spin: Let's improve a few details of our tried-and-tested implementation to make everyone's life easier, rather than embarking on a 10-year mission to radically change the entire language and deprecate every array-related piece of PHP code ever written in favour of a vaguely-imagined utopia whose parameters we haven't even defined yet. I don't believe in either extreme. It's a simple proposal, which can be examined on its own merits. Regards, -- Rowan Collins [IMSoP]