News for hackers. Stuff that matters.
Re:Map[string]interface{} in Go: a user's manual by earthboundkid on Monday July 26, 2021 @03:08PM (#27963865)
That Go would benefit from generics doesn't change the fact that there are also lots of use for heterogenous containers. As it is, Go already has "slices" for type safe containers. The fair complaint about Go is it's hard to do other type safe container than the built in "slice" and "map" containers. But the problem is on track to be fixed next year, so it's silly to complain about it now.

There are no comments on this comment yet.