It is about how functional you want to be. A for loop is not that functional so I would sacrifice performance over maintainability and readability.
It is about how functional you want to be. A for loop is not that functional so I would sacrifice performance over maintainability and readability.