Y
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
linhns
1255 days ago
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.
link
civopsec
1254 days ago
If you are fine with using `map` then I don’t see how this is “clever”. `zip` is basically “map2”.
link