I realize this is mostly frustrated satire - but it is an actual issue when working with coders of different skill levels.<p>The solution is to simply drop the use of flatmap (or any other function which eliminates loops). In my experience, that level of abstraction is the kind of thing which confuse new developers who have not (yet) been exposed to the terminology introduced by functional programming. It comes across as &quot;clever&quot; and &quot;obfuscated&quot;. And it really is quite clever - you turn a 4 line for loop with accumulators into a single line of code. But it&#x27;s also legitimately obfuscated as well, until you grok how flatmap works.<p>Ultimately, a for loop can be understood by almost any programmer you will encounter. There&#x27;s more code, it does the exact same thing as a flatmap, but (as the OP points out) the function is still pure.