News for hackers. Stuff that matters.
Re:Array Iteration Interview Problem by djur on Thursday August 02, 2012 @01:21PM (#4329837)
There actually _is no_ "normal, index-based" for loop in Ruby, only a for ... in iteration construct. Most C-style for loops can be implemented as #times or #up_to/#down_to/#step iterations.

There are no comments on this comment yet.