golang

4 thoughts
last posted Aug. 19, 2014, 3:01 p.m.

2 earlier thoughts

0

The fact that you don't have to explicitly declare that you implement an interface means they're easy to treat as emergent behavior: as you realize you need two different kinds of People, you declare an interface, Individual.

type Individual interface { Hello() string }

1 later thought