When an Infinite Loop Stops Being a Mistake In traditional programming, an infinite loop usually means something has gone wrong. The program keeps repeating without reaching a stopping point. It consumes resources but never finishes the job.