Re:Interfaces in Go make it hard to navigate code
by dsymonds on Monday May 27, 2013 @07:05AM
(#5774192)
Only if you had a method with that exact signature: taking a []byte argument and returning an int and an error. You'd have to stretch to have that happen by chance.
[ Parent
| on HN ]
Re:Interfaces in Go make it hard to navigate code
by garethadams on Monday May 27, 2013 @09:44AM
(#5774605)
Ok, I did think that would be part of it but the only reference I could find in the documentation was at http://golang.org/doc/faq#overloading which suggested that names are the only thing considered. (The other document I looked at before was http://golang.org/doc/effective_go.html which didn't help)
Fair enough, I did say I was only speculating and I've learned something.