News for hackers. Stuff that matters.
Re:Channels in Golang by burntsushi on Sunday December 25, 2016 @09:08AM (#13254116)
I guess neither direction is especially intuitive because structural typing makes the relationship a bit strange. In both cases, it's easy to show a contradiction. `interface{}` can't substitute `int` in `[]int` and `int` can't substitute `interface{}` in `[]interface{}`.

There are no comments on this comment yet.