Declarative style means we’re telling the computer the relationships between things.
Mocking is a Code Smell
Eric Elliott

but in the end of the day the reduce part of your code does the imperative part, so, no much of gain here.

Like what you read? Give Thiago Andrade a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.