4 ms·
Yes. IIRC, Rob Pike or someone else on the Go team even said something like "it's hard, so we are taking our time about it, may implement it later". Edit: see [
by vram22 6y ago
Yes. IIRC, Rob Pike or someone else on the Go team even said something like "it's hard, so we are taking our time about it, may implement it later". Edit: see [1] below.
Also googled and found this:
http://lambda-the-ultimate.org/node/4554 http://lambda-the-ultimate.org/node/4554
which includes this section:
Go might have generics in future
with this text:
The Go FAQ recognizes the issue and says that generics may be added at some point...
http://golang.org/doc/go_faq.html#generics http://golang.org/doc/go_faq.html#generics
Considering how Java generics turned out I am fine with the Go team taking the time to think about a proper design for generics in Go :-)
By ted stockwell at Tue, 2012-06-26 15:03
[1] The golang.org link above about generics also says this:
We haven't yet found a design that gives value proportionate to the complexity, although we continue to think about it.