Hacker News new | ask | show | jobs
by nemetroid 3223 days ago
Map-style iteration carries more semantic information than a C-style index based loop. An index based loop might be doing anything with the data being iterated over. When you do collection.map, already at first glance you get an idea about what the code is doing.
1 comments

Yep - and nobody cares. Write clean code instead. Much harder than simply changing the looping style.