|
|
|
|
|
by int_19h
2188 days ago
|
|
For a long time, Go designers have been saying that it doesn't have generics, because they don't think that the ways they're done in other languages is "good enough". Looking at this, I don't see any fundamental differences from, say, C#. They're even using interfaces for generic constraints. Did they decide that they are "good enough", after all? |
|
The good enough is more drawing the tradeoff line in a spot that’s useful and clean to maintain, and the place where the core team and the community draws that line is finally converging.