--

I disagree because flatMap is less readable and less performant so there is no benefit. The fact that the array is only traversed once is irrelevant since each iteration is more than twice as expensive.

--

--

No responses yet