It's just a shame that you could EASILY bolt on basic parametric polymorphism to Go with 0 cost and huge benefit. And it'll never happen.
The power of a universally quantified interface cannot be underestimated!
The power of a universally quantified interface cannot be underestimated!
In a theoretical Go:
func id<A>(a A) A
This only has one terminating, non-panicking valid implementation.