-
Notifications
You must be signed in to change notification settings - Fork 61
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
Simplified API in the future? Goweb use too many []interface{} for args #71
Comments
Thanks for that feedback. Some good points. Mat Sent from my iPhone
|
You can tell we came from Ruby and JavaScript and not C++ can't you :D |
Do you think adding strict versions would be a pointless thing? I.e.
AND The |
I think a strict version should be good for the near future. P/s: |
I'm going to use Goweb for the next project, after reading the API document I feel Goweb use too many ...interface{} for the function agrs. I give some flexible but sometime give some confusions.
Why don't we just provide the most general API for the function?
For example, goweb.Map should be:
or goweb.MapController should be just:
I know this is not that importan and hard to change because you will break your old code but it still worth something! I bet that many of us love Go because the simplicity and clarity (by the lack of function overloading and something else)
Thanks for the team for your great package!
The text was updated successfully, but these errors were encountered: