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

Comparison with other gems? #2

Open
chocolateboy opened this issue Jun 3, 2018 · 0 comments
Open

Comparison with other gems? #2

chocolateboy opened this issue Jun 3, 2018 · 0 comments

Comments

@chocolateboy
Copy link

chocolateboy commented Jun 3, 2018

This looks similar to its-it (which in turn was inspired by methodphitamine) e.g.:

(1..6).select(&it > 3) #=> [4, 5, 6]

It'd be interesting to know if there are any differences (performance?).

(I should probably put down the Scala book now)

(There are similar shortcuts available in other languages, including Crystal and JavaScript :-)

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