News for hackers. Stuff that matters.
Re:Why general inheritance is flawed and how to finally fix it by w-j-w on Sunday December 12, 2021 @06:23PM (#29534759)
Go solves this with problem with embedding. If a type is imbedded inside of a struct and has its own methods, those methods are implicitly available on the new struct.

There are no comments on this comment yet.