Infinite loop
Meaning in software engineering, with examples
In software engineering, infinite loop means: A loop that never stops because its exit condition is never met, which can freeze a program or use 100% of the CPU.
In Turkish: sonsuz döngü
How it is used
Usually a bug, for example when a counter is never increased. People say 'it's stuck in an infinite loop' or 'it goes into an infinite loop'. Sometimes it is intentional, as in a server's main loop written with while (true).
Example sentences
The page froze because the retry logic got stuck in an infinite loop.
If the API keeps returning the same cursor, this code will turn into an infinite loop.
Common collocations
- stuck in an infinite loop
- cause an infinite loop
- go into an infinite loop
- break out of the loop
Related terms
More terms: Debugging and Troubleshooting
Practise with graded reading
Reading at the right level is the fastest way to make new words stick. Pick free English books by level:
