|
|
|
|
|
by jstimpfle
2682 days ago
|
|
> Arrays/Maps/Slices They are widely used data structures and so, in the opinion of the Go creators, justified separate specialized implementations in the Go compiler. In other words, there isn't actually a Generics system in the language (I don't actually know this, correct me if I'm wrong). For various reasons. There are quite a few talks and design docs from Rob Pike and Russ Cox if you look for them. |
|
And generics aren't just for abstract data structures, there are other uses as well.