6 years ago
Tues Dec 11, 2018 6:15pm PST
Go uses "structural typing" on methods to determine the compatibility of a type with an interface, and it's not "Duck Typing". Maybe a similarity with the Duck Typing makes people think it's the same. But it's not. Those two are very different type system.