Talk:Infinite loop: Difference between revisions

Content deleted Content added
Wow, where's JS?: new section
MalnadachBot (talk | contribs)
m Fixed Lint errors. (Task 12)
Line 113:
</syntaxhighlight>
 
However, I'm sure we have all run into situations in which it was tempting to use a while ( true ), but is it bad form? <B>[[User:Tisane|<fontspan colorstyle="color:#008000;">Tisane</fontspan>]]</B> <sup>[[User talk:Tisane|talk]]</sup>/<sub>[[Special:Contributions/Tisane|stalk]]</sub> 15:33, 16 June 2010 (UTC)
 
:the rule is that every loop terminates, and when you pretend it doesn't like that, it makes the code harder to read. The example you gave is trivial, and all programming readability conventions can be ignored for trivial cases.