News for hackers. Stuff that matters.
Re:Go 1.6 is Released by azth on Thursday February 18, 2016 @09:00PM (#11131019)
> Which means you can declare an interface that foreign packages already conform to, and then freely use them.

Except that it is very difficult to find out which struct implements what interface, you'd have to go look through the code. Not to mention there is always the possibility of accidentally implementing an interface. This has already caused real issues it seems (there was a blog post about it).

There already exists a solution for this issue, via typeclasses.

But golang doesn't have generics.

There are no comments on this comment yet.