Kang-Kyu Lee

November 22, 2024

Ruby, map and collect

Ruby is human friendly because for example there are..

"map" and "collect" they do the same thing. There's more than one way of doing the same thing, in Ruby.

Another example, "detect" and "find". Guess what? They do exactly the same thing.

I think these methods (and other aspects) make Ruby human-friendly. What do you think?

See you next time!