It only takes a few its to lose track which is which.
Kotlin pitfalls and how to avoid them
Adam Arold
6996

In my opinion “it” is not a problem. Problem is with code formatting. I’d prefer to define a private method and hide the inside of forEach method behind it. It also gets rid of indents that are in the example above.

Like what you read? Give Maciej Najbar a round of applause.

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