Re:Go's power is in emergent behavior
by NateDad on Sunday April 27, 2014 @07:36AM
(#7654728)
It's useful in go, because it means you can trivially turn a bare function into a type that fulfills an interface, which makes your function more flexible - it can easily take either a type with a method or just a method.
[ Parent
| on HN ]
There are no comments on this comment yet.