Re:Everyday hassles in Go
by Animats on Wednesday December 31, 2014 @12:21AM
(#8818345)
True. A useful question to ask is this: what's the minimal parametric type design that would allow writing "map" and "chan" within Go? (Ignoring, of course, that "map" and "chan" both have special syntax; map has a "[]" operator, and "chan" has "select')
If we needed to write, say, "thread-safe map", or "network chan", with type parameterization, that should be possible.
If we needed to write, say, "thread-safe map", or "network chan", with type parameterization, that should be possible.