Re: [VOTE][RFC] Array Of

From: Date: Sat, 01 Mar 2014 15:25:51 +0000
Subject: Re: [VOTE][RFC] Array Of
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Sat, Mar 1, 2014 at 10:22 AM, Andrea Faulds <[email protected]> wrote:
>
> On 1 Mar 2014, at 15:20, Philip Sturgeon <[email protected]> wrote:
>
> It also lines up nicely with the syntax everyone is using for
> DocBlocks, so again, why not have it now and have some other syntax
> for a slightly more powerful feature in the future maybe.
>
>
> Or, we could have generics-like syntax now and add proper generics later,
> meaning people would get a free performance boost eventually and we'd be
> able to eliminate the O(n) issue.
>
> --
> Andrea Faulds
> http://ajf.me/
>
>
>
>

And again I say that is something that will be considered if this vote
doesn't pass.

"Array of" using Generics-like syntax in 5.7 and full on generics in
5++ (6 or 7) is looking like a more likely route at this point. It's
just one that I personally don't like. :)


Thread (13 messages)

« previous php.internals (#72892) next »