News for hackers. Stuff that matters.
Re:Array Iteration Interview Problem by nwmcsween on Wednesday August 01, 2012 @09:16PM (#4326695)
I wouldn't do any of this, Ruby / Python are OO so they provide already baked in primitives to do this, e.g:

    array.map { |e| e + val }
It bugs me when developers roll their own instead of utilizing what's already been done (minus performance reasons).

There are no comments on this comment yet.