Comment by kbolino
8 hours ago
You need this in Java because interfaces are explicitly implemented. You don't need this in Go because interfaces are structurally implemented. The way you spell "anything that has a method named Size which returns int" is interface{Size() int}.
No comments yet
Contribute on Hacker News ↗