Infinite Loops Issue

The cluster focuses on discussions about infinite or endless loops in programming contexts, particularly criticisms of a tool, language, or feature that mishandles them by locking up or unexpectedly allowing them despite warnings.

➡️ Stable 0.5x Programming Languages
3,616
Comments
20
Years Active
5
Top Authors
#7985
Topic ID

Activity Over Time

2007
10
2008
26
2009
54
2010
102
2011
126
2012
127
2013
157
2014
169
2015
175
2016
176
2017
180
2018
197
2019
239
2020
250
2021
336
2022
313
2023
370
2024
246
2025
340
2026
23

Keywords

ASIC AST DO IRL TLDR LOOP CH02 FAANG edacafe.com IIRC loop infinite loops iterations construct condition run time gonna spike edge cases

Sample Comments

AltIvan Aug 3, 2011 View on HN

Oh look! there is a little note: "Do not use if you need an infinite loop not to stop."

millstone Sep 26, 2018 View on HN

Don't endless loops last forever by definition?

0x1ceb00da Jan 9, 2025 View on HN

Not just any loop, an infinite loop.

hiddencost Jul 22, 2024 View on HN

Unterminated loops might be a better phrasing.

jedberg Jan 20, 2022 View on HN

You're gonna break the internet! Infinite loops are bad.

charcircuit Nov 8, 2023 View on HN

That trick doesn't work for writing an infinite loop.

mal10c Mar 25, 2019 View on HN

This is great! I did notice it allows me to do infinite loops though and then the whole thing locks up, other than that, very enjoyable!

neocron Nov 10, 2025 View on HN

Isn't this just an endless loop with extra steps?

redorb May 1, 2008 View on HN

Someone (perhaps the submitee) please tell us why, this is relevant, dealing with infinite loops? or something? -

ctz Feb 7, 2024 View on HN

"yes, please run this loop minus 10 times" - statements dreamed up by the utterly Deranged