the spirit is weak. woe be the spirit. the body is weaker still. Siërra R
.
ask me about horses
.


somewhere on website league
username will be botflymother
really if you wanna find me just look for botfly mother
gonna keep that name around for a good while
You must log in to comment.

in reply to @DecayWTF's post:

that just puts an arbitrary cap on the number of possible iterations which does inherently solve infinite loops but it also severely hampers computing potential.

related note: when writing a loop a good programmer will always add a loop counter and put an upper limit on the number of possible iterations that exceeds the number of necessary iterations when all values are within usable bounds. effectively using your solution contextually in a way that doesn't limit the computational ability of the entire computer.

There's also plenty of use cases for really infinite loops; anything that can in principle run forever intentionally. It would be extremely weird to have a game loop just stop because you left it running, or a network server's socket handler, or god forbid the OS scheduler...

in reply to @vogon's post:

I seem to recall reading a blog post by notch (before he revealed himself to be an asshole) about a computer that instantly gives a completely random response to any question you ask it, then takes as long as it needs to verify whether the answer is true. If it turns out to be false it kills you.

Pinned Tags