|
|
|
|
|
by rowanseymour
1991 days ago
|
|
I rarely find myself frustrated with the lack of generics in Go and am so glad to never deal with the kind of over-engineered generic madness that is so common in Java, except... When dealing with collections. It's maddening to have to keep duplicating basic functions like getting the keys from a map, or checking if a slice contains a given item. |
|
It's pretty much always giant, complex class hierarchies or a bunch of reflection (or both).