News for hackers. Stuff that matters.
Re:The State of Go by solidsnack9000 on Sunday February 05, 2017 @06:24PM (#13575354)
It is not necessarily easy to recognize when a loop is a map or filter -- I think that's the issue. It's why someone like McSweeney would bring it up.

The Python approach -- where maps and loops share a lot of syntax -- is maybe the middle way. On the one hand, it's not an approach that gives rise to `.map()`, `.collect()`, `.flat_map()` and so forth; on the other, it's marked out as something returning a result.

There are no comments on this comment yet.