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

Will the interface methods be renamed future #7

Closed
xland opened this issue Nov 20, 2015 · 2 comments
Closed

Will the interface methods be renamed future #7

xland opened this issue Nov 20, 2015 · 2 comments

Comments

@xland
Copy link
Contributor

xland commented Nov 20, 2015

There are many interface methods named xxxxx2(...),xxxx3(...)

Will these interface methods be renamed future?

@therecipe
Copy link
Owner

Are you referring to methods like these ?
https://github.com/therecipe/qt/blob/master/core/qvariant.go#L44:L174

Unfortunately go doesn't support name overloading, so this is necessary.

We could bundle all these overloaded methods with the help of a plain 'interface{}' or '...interface{}', but that would probably lead to more confusion than do good.

@therecipe
Copy link
Owner

I think, this can be closed.

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

2 participants