Re:Go 1.6 is Released
by jerf on Thursday February 18, 2016 @08:42AM
(#11125633)
Are we talking about the same thing? That is the most full-throated defense of orphan instances I've ever heard. The reaction to such things is generally... less positive... to put it lightly.
[ Parent
| on HN ]
Orphan instances arise when the implementation of the interface is in neither the same package as the package that defines the type nor the package that defines the interface. I'm defending the latter (which Go's rules rule out), not orphan instances.