Re:Idiomatic Generics in Go
by burntsushi on Wednesday October 01, 2014 @06:59AM
(#8393707)
That is not a generic HashMap. See masklinn's response.
The fact is, the comparison between Go and "pre generics Java" is a bad one. There are many substantial differences, and blessed parameterized types in Go is absolutely one of them.
The fact is, the comparison between Go and "pre generics Java" is a bad one. There are many substantial differences, and blessed parameterized types in Go is absolutely one of them.