DEV Community

Discussion on: for/in vs. each in Ruby: More than just syntax

Collapse
 
dmkash profile image
Dana Kashubeck

I think scope trips up a lot of newish devs -- well, also some of us vets if we're not keeping it in mind. It is good to use methods that mean it doesn't even come into play!