Skip to content

When a loop is better

A chain of eight stream operations with several multi-line lambdas has replaced a twenty-line loop.

Is this an improvement?