4 ms·
> Java was created in 1995 and got generics in JDK 1.5 in 2004, I don't see anyone using this argument against Java. Java was created in an age where very few
by masklinn 5y ago
> Java was created in 1995 and got generics in JDK 1.5 in 2004, I don't see anyone using this argument against Java.
Java was created in an age where very few languages with mainstream relevance had userland generics.
Go was not, and generics had already had to get (somewhat painfully) retrofitted in two of the above.
- DylanSp 5y agoYeah, this. In 1995, about the only mainstream language with generics was C++ with templates. (Same in 2000 when C# was released, incidentally) When Go came out in 2009, though, Java and C# had pushed generics into the mainstream. Additionally, they'd shown some of the problems with trying to retrofit generics onto a language and ecosystem that didn't previously support them.