Re:Go Replaces Interface{} with 'Any'
by the-alt-one on Wednesday December 15, 2021 @03:11AM
(#29563246)
It's not a hack, it's the natural way of expressing it in the chosen type system. The use cases for interface{} are often hacks, because of a lack of parametric polymorphism, but that's different.
[ Parent
| on HN ]
There are no comments on this comment yet.