Re:Go 1.18 Beta 1 is available, with generics
by DylanSp on Wednesday December 15, 2021 @10:30AM
(#29567228)
Yeah, 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.
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.