Skip to main content
loop

loop

33 4.7
A set of instructions that repeats until a condition is met
  • noun
  • /luːp/
  • Specialized
translation icon : bucle
  • In coding, a loop allows programmers to automate processes by repeating a sequence until a condition is fulfilled.
  • iteration of the loop
  • nested loops
  • inner loop

OK, so that's basically how a while loop works.

Autoplay Next

Examples

  • OK, so that's basically how a while loop works.

  • And so this is actually a loop between each of these steps.

  • Okay, if, uh, this line is time, this is when the loop begins.

  • I am caught in a time loop.

  • I'm going to nest another loop block inside it.

  • We'll start by creating a very simple for loop which clears off the initial votes.

  • You're stuck in a loop.

  • We can't see it, but we're all trapped inside these strange, repeating loops.

  • The program will execute the same steps repeatedly in a loop until the user decides to stop it.

  • When debugging, it's important to identify when a loop runs indefinitely and doesn't meet its exit condition.

Synonyms

looping
vsloop
  • Specialized
2 4.8

Repeating the same instructions in a program until a condition is met

is the specific sequence of instructions that gets repeated

Idioms

in the loop
  • Informal
32 4.0

Knowing what is happening in a group or project

1 8.7

To surprise someone very much and leave them speechless

Compounds

feedback loop
  • Specialized
16 4.2

A system where part of what it makes is sent back to change how it works

loop-the-loop
  • Specialized
1 7.6

A complete vertical circle made by an aircraft as a flying stunt

closed loop
  • Specialized
1 5.1

A system that uses feedback to keep things like temperature at the right level

loop gain
  • Specialized
1 9.1

How much output an amplifier sends back to its input, affecting how steady it is

1 5.3

A fixed ring in a rope that does not slip or change size

closed-loop system
  • Specialized
6.0

A control system that uses information from sensors to adjust itself automatically

closed-loop system
  • Specialized
5.2

A system that recovers, cleans, and reuses materials to avoid waste

drip loop
  • Specialized
6.7

A downward loop in a cable that stops water from running into a building

loop topology
  • Specialized
6.9

A network where computers connect in a closed ring

loop-line
  • Specialized
8.2

A train line that leaves a main line and later rejoins it

ground loop
  • Specialized
9.0

A sudden uncontrolled turn a plane makes while moving on the ground

inside loop
  • Specialized
9.8

A plane flight that climbs, flies upside down, then dives in a vertical circle with the pilot on the inside

outside loop
  • Specialized
9.9

A plane move where it dives, flies upside down, and then climbs back to level flight

How Repetitive

merry-go-round
  • Texting
4 4.1
cycle
707 2.8
loop
  • Specialized
33 4.7
sequence
428 3.2

Surface Forms

loop singular
loops plural

Etymology

Loop in computing borrows the circle image for a modern idea: a loop is a set of instructions that keeps going back to the start and repeats until a condition is met.