Comment Re:Preach it brother (Score 1) 822
Screw that. A true infinite loop doesn't have a break in it. This is the simplest way to implement an infinite loop:There is absolutely nothing wrong with breaking out of for() loop. As a matter of fact the following is a fairly standard way of implementing an infinite loop in C:for(;;){
/* do something and use break to terminate the loop */
}
for(;;);