Re:Go's power is in emergent behavior
by kyrra on Sunday April 27, 2014 @12:40AM
(#7653993)
One fun minor point about implicit packages. Since Go strictly forbids circular dependencies between modules, you can declare an interface in module A that module B inherits without B ever knowing about that interface. Sure you could do some refactoring and create a shared third module, but this is a neat trick.
[ Parent
| on HN ]
There are no comments on this comment yet.