8000 Switch to named params via "options" hash vs indexed args for pagination etc · Issue #17 · Tout/trubl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Switch to named params via "options" hash vs indexed args for pagination etc #17

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

Open
beautifulcode opened this issue Jun 8, 2015 · 0 comments

Comments

@beautifulcode
Copy link
Contributor

This has bitten me, and I wrote it. :) We should have the options to methods like retrieve_feed_touts be expressed as a named hash vs positional arguments. It's more expressive and rails-like in my opinion. Since there are sensible defaults in place, this really is optional configuration. Making this change would require breaking backwards compatibility so versioning would be key. SemVer?

@beautifulcode beautifulcode changed the title Switch to named params via "options" hash vs indexed args. It's more expressive. Switch to named params via "options" hash vs indexed args for pagination etc Jun 8, 2015
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

1 participant
0