Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

while is bad

Name: Anonymous 2010-01-11 13:51

Just thought I'd warn you, don't use while(1)
It is INCREDIBLY DANGEROUS

http://ubuntuforums.org/showpost.php?p=805826&postcount=10

Name: Anonymous 2010-01-11 18:25

>>9
I remember reading about Knuth asking that question. Thanks for the literature!
Yeah, implementing a new loop type with a few more keywords wouldn't really serve a purpose, and there isn't a clear syntactical way of doing this.
You could always #define unless(p) if (!(p)) break;, or even change unless to insure if you feel like it.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List