News for hackers. Stuff that matters.
Re:My Go Resolutions for 2017 by treehau5 on Wednesday January 18, 2017 @04:29PM (#13430451)
My understanding is go's interfaces is counter to OO style. It's about behavior, not objects, plus by recommending to users that you write the smallest possible interface as you can, and then compose other interfaces out of those smaller one's, you reduce the surface area of where the expression problem can come into practice!
Re:My Go Resolutions for 2017 by pcwalton on Thursday January 19, 2017 @03:39AM (#13434141)
Go's interfaces are pure subclassing for the purposes of the expression problem.
Re:My Go Resolutions for 2017 by zaphar on Wednesday January 18, 2017 @10:56PM (#13432872)
Substitute implementation for subclass and the point still stands.