Re: [VOTE][RFC] Array Of
On Sat, Mar 1, 2014 at 10:14 AM, Andrea Faulds <[email protected]> wrote:
>
> On 1 Mar 2014, at 15:08, Philip Sturgeon <[email protected]> wrote:
>
> This should not even be seen as a rush to implement a weak version
> that ruins things and gives us a weird double syntax. It should be
> seen as a simple version then if later on generics are implemented
> they are a much more powerful feature which has a different syntax.
> People can use [] without ever having to understand the complexity of
> generics and templates and all that.
>
>
> People can also use Array<Foo> without fully understanding generics.
>
> --
> Andrea Faulds
> http://ajf.me/
If we do a very careful job of documenting them, because introducing
developers to the basic levels without distracting and confusing with
the advanced stuff is gonna be tricky.
My other fallback argument in this case is... "JAVA DID IT".
("Simpsons did it" reference. Anyone?)
The point of my survey was to ask if people wanted just this feature,
generics, or both. Lots of people said both. It's not completely alien
for a language to have both, as Java does this too. I'm sure others do
it we poke around enough.
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.
Thread (13 messages)