Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tour: [confusing description of interfaces] #14516

Open
iambrosie opened this issue Feb 26, 2016 · 0 comments
Open

tour: [confusing description of interfaces] #14516

iambrosie opened this issue Feb 26, 2016 · 0 comments
Milestone

Comments

@iambrosie
Copy link

Context: https://tour.golang.org/methods/9

The text on the left reads

A value of interface type can hold any value that implements those methods.

I'm not an advanced Go programmer and this is the first time I encounter this expression

any value that implements those methods

in the Tour.

Because I don't find its semantics obvious, I'm interested in knowing whether I should the first quote along the lines of

A value of interface type can hold any value whose type appears as the receiver of a method whose signature is listed in the interface type

In any case, could you please consider rephrasing the original expression so that it's clearer?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants