Hacker News new | ask | show | jobs
by woodruffw 1255 days ago
Using `zip` feels excessively clever to me. I'd probably prefer something in between, like `and_then` followed by `map`, or just matches.
2 comments

Not sure if it's only me but after using `zip` for the first time in any language, I tend to overuse it too much while there are better, more idiomatic alternatives.
If you are fine with using `map` then I don’t see how this is “clever”. `zip` is basically “map2”.