News for hackers. Stuff that matters.
Re:Problems with Go's design by sgeop on Wednesday October 28, 2015 @11:46PM (#10469147)
You can already define functions that work on every type that implements Foo, no? I've never coded in go, but I thought that was the whole point of interfaces.

And I don't see how adding generics would solve the problem of being able to add a FooImpl2 to a slice of FooImpls. Java has generics and they don't allow covariant generic collections for this same reason.

There are no comments on this comment yet.