Is there a better way to write that?
# getting-started
c
Is there a better way to write that?
o
camdenorrb: Well, you could map to name and use function references instead of lambdas, but you'd only end up writing more code, so whether it's better is debatable. And then you'd also end up with less efficient code unless you first convert the array to a Sequence. So I guess my answer is: no, I don't think so 😛