When I’m reading/reviewing code, I don’t want to have to think carefully about ambiguous constructs: I’d rather encourage a style that avoids ambiguity like this as much as possible.
Yeah, I tend to the mindset of "just use transducers". I never use for/doseq in my own code, because the compositionality of transducers make them a lot nicer.
2
u/fiddlerwoaroof Jun 06 '20
I tend to think
Is preferable to
Because I don't have to wonder whether
doseqproduces the cartesian join of xs and ys or processes the collections pair-wise.