concept loop - base programming in category kotlin

appears as: loop-based programming
The Joy of Kotlin

This is an excerpt from Manning's book The Joy of Kotlin.

4.4.1 Using memoization in loop-based programming

In loop-based programming, you wouldn’t have this problem. The obvious way to proceed would be as follows: