News for hackers. Stuff that matters.
Re:Introduction to Go 1.1 by GhotiFish on Tuesday March 26, 2013 @11:11AM (#5443798)
Hmm I can kind of see what you mean, but I don't see it as a big of a problem.

If you make package A depend on package B, package B monkey-patches x with method Foo so now x is a Fooer

x now satisfies the Fooer interface in package A, well that seems ok. You imported B after all. In things that don't import B, x doesn't satisfy Fooer. Is this unexpected behavior? If B depends on C, C's x won't satisfy Fooer right?

There are no comments on this comment yet.