Hacker News new | ask | show | jobs
by sixbrx 4681 days ago
Agree, and a map also provides an "at a glance" assurance that I'm getting a transformed array of the same size. For loops take longer to discern what they're doing just because they could be doing almost anything, including early exit.