A Loop in Programming Repeats Until Told to Stop

A loop is a shape that curves back on itself. Computing borrowed the word for repeated instructions.

A loop is a shape produced by a line curving back to cross itself. Computing took the word because control returns to where it began: instructions run, then the path curves back and runs them again. An *infinite loop* is one whose exit condition is never met, which is among the commonest programming errors. *In the loop* means included in information, from communication circuits, and *loop the loop* named an early aerobatic manoeuvre.

Word forms

FormWordExample
NounloopA loop.
PluralloopsLoops.
VerbloopLooping.
CompoundloopholeA loophole.
AdjectiveloopyLoopy.

Where loophole comes from

Middle English, of uncertain origin, possibly from Old Norse *hlaup*, a leap.

Why is repeated code called a loop?

Because control returns to where it began, tracing a path that curves back on itself before running again.

What was a loophole originally?

A narrow slit in a castle wall through which archers could shoot while remaining protected.

Sources

WhatsAppXTelegramFacebook

More 4-letter words