News for hackers. Stuff that matters.
Re:Rust for Rubyists by stouset on Sunday December 24, 2017 @11:39PM (#16002681)
That’s an alias for `find_all`.
Re:Rust for Rubyists by dopamean on Tuesday December 26, 2017 @09:00AM (#16008611)
I'm aware of that. I prefer the *ect methods only because they've always seemed to be more popular amongst Rubyists.
Re:Rust for Rubyists by yladiz on Monday December 25, 2017 @07:32AM (#16003896)
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.
Re:Rust for Rubyists by danappelxx on Monday December 25, 2017 @10:54AM (#16004510)
Honestly, that sounds like a nightmare to me!
Re:Rust for Rubyists by odammit on Monday December 25, 2017 @11:47AM (#16004741)
I love Ruby, but I agree. It creates unnecessary ambiguity.

Reads nicer sometimes, sure.