nestedloops

noun
UK /ˈnɛstɪd luːps/
US /ˈnɛstɪd luːps/

Nested loops are loops inside other loops.

The programmer used nested loops to print a grid of stars.


OTHER MEANINGS

2. A programming structure where one loop runs completely inside each pass of an outer loop.

Nested loops are common when working with two-dimensional arrays.

3. A pattern in mathematics or music where repeating cycles contain smaller repeating cycles.

The composer built nested loops of rhythm into the piece.

4. A situation where repeated processes are layered within one another in a system.

The factory's nested loops of checks caught errors at every stage.