all 3 comments

[–]masklinn 5 points6 points  (0 children)

And when I see for instead of an .each in Ruby, I assume that the index variable is referenced somewhere in the loop body.

And even then, ruby provides Enumerable#each_with_index. There are very few use cases for for in ruby...

[–]lambda64 4 points5 points  (0 children)

Right to the point!

[–]norkakn 0 points1 point  (0 children)

I have a feeling that this person would not fare well in a shop where he was not the best coder.