News for hackers. Stuff that matters.
Re:It is ridiculously easy to refactor Go by NateDad on Monday January 28, 2013 @01:53AM (#5127500)
You never have to declare what fulfills an interface in Go. The fulfillment is implicit. If you define an interface with the Quack() method, anything with a Quack() method on it can be passed into a function that takes that interface, even if that object has never heard of the interface or the function. You never declare that a type "implements" an interface in the way you do for languages like C++ or Java.

There are no comments on this comment yet.