Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
stouset
on Dec 25, 2017
|
parent
|
context
|
favorite
| on:
Rust for Rubyists
That’s an alias for `find_all`.
dopamean
on Dec 26, 2017
|
next
[–]
I'm aware of that. I prefer the *ect methods only because they've always seemed to be more popular amongst Rubyists.
yladiz
on Dec 25, 2017
|
prev
[–]
That's one beautiful thing about Ruby. There's not just one way to do it, which means that .select and .find_all may be aliases but both are valid and will show up, depending on the author's preference.
danappelxx
on Dec 25, 2017
|
parent
[–]
Honestly, that sounds like a nightmare to me!
Coryodaniel
on Dec 25, 2017
|
root
|
parent
[–]
I love Ruby, but I agree. It creates unnecessary ambiguity.
Reads nicer sometimes, sure.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: