In defense of ‘for’: functional isn’t always better
I was skimming a tutorial recently about how to solve some algorithmic problem on some coding challenge site using Javascript. Of course it involved various loops. Toward the end of the tutorial the author said something like ‘now we will…