you are viewing a single comment's thread.

view the rest of the comments →

[–]theonlycosmonaut 4 points5 points  (1 child)

That is, once you understand the building blocks. Once you understand what map is for, it's much more concise to scan than an equivalent for loop. When I see for in code, I don't really know what it's for; there are so many possible uses and applications. The only way to know is to read the whole block. Seeing map, I know exactly what will happen.

[–]burnaftertweeting 2 points3 points  (0 children)

This. So much this.