Hacker News new | past | comments | ask | show | jobs | submit login

I don't think so. Interfaces dispatch based on the type of the one and only special purpose receiver.



I've read this sentence 6 times and have no idea what it means...


It means that one argument to the function is special, syntactically, and it is that argument (and only that argument) that determines whether a type implements an interface.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: