As a sidenote, you can use this markup [tag:infinite-loop]. It's a magic link.
– tshepangApr 21 '14 at 21:39
I did ... why are you telling me? :p (Ninja-edit ftw)
– BartApr 21 '14 at 21:40
13
I disagree with infinite-loop. That looks like it might be for discussing bugs that cause unintentional infinite looping, not the while (true) { ... } idiom.
– KevinApr 21 '14 at 21:41
@Kevin my point was more not to blindly go replace it for a while loop, when there might be a case of an infinite loop. That's all. I haven't looked into the content enough to establish it.
– BartApr 21 '14 at 21:43
23
I'd just remove those 50 instances. The tag is not very useful. Who is going to follow it, or sift through those 50 instances to see if they missed some profound insight?
– Robert HarveyApr 21 '14 at 21:49
2
Why does this need to be a tag?
– JoeApr 22 '14 at 2:22
1
@RobertHarvey Yes, definitely remove them. There are questions, like this one that is tagged whiletrue when it is in fact asking about do {} while (false); Which is the exact opposite.
– AnthonyApr 22 '14 at 3:47
2
There is a difference between infinite-loop and whiletrue as infinite loop is typically unintentional but someone could intentionally code an 'infinite loop' as while(true) like if you wanted to make a simple server or something like that where you don't have any intention of having a conditional exit apart from just closing the program down.
– GenericJamApr 22 '14 at 12:37
2
The questions tagged whiletrue have all been untagged or retagged; the tag is now empty.
– Jonathan LefflerApr 22 '14 at 16:11
This site is intended for bugs, features, and discussion of Stack Overflow and the software that powers it. You must have an account on Stack Overflow to participate.
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.
[tag:infinite-loop]
. It's a magic link. – tshepang Apr 21 '14 at 21:39while (true) { ... }
idiom. – Kevin Apr 21 '14 at 21:41do {} while (false);
Which is the exact opposite. – Anthony Apr 22 '14 at 3:47