What is an 'Infinite Loop'?

Asked by stem_mind · 4 months ago

1 Answer

40
amorebise · 4 months ago Top Answer

This is a loop that never ends. It's like a Danfo driver who keeps going around a roundabout and never takes an exit. Your program will eventually freeze or crash.

It usually happens because you forgot to change the condition that stops the loop. In my early days, I crashed many computers this way. It's a rite of passage for every coder!

Log in to add a comment.