Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pcwalton
· 11y ago · 0 comments
In Go, if T implements interface I, T is not a subtype of the interface type I. T can be
converted
to the interface type I, but it's not a subtype.
Comments
[–]
sgeop
11y ago
What's the difference though? Is this true of interfaces in Java for instance, or does it have to do with the specific implementation of go?