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 17:08

>>3
A question for the ages. The “n + ½” loop pattern was recognized as early as 1967, see Wirth's “On certain basic concepts of programming languages”1 and Knuth's “Structured Programming with Goto Statements”2. The reason one of the suggested solutions wasn't broadly adopted is probably that existing syntax like break and sequencing in the condition is not that bad.

1 ftp://db.stanford.edu/pub/cstr/reports/cs/tr/67/65/CS-TR-67-65.pdf
2 http://pplab.snu.ac.kr/courses/adv_pl05/papers/p261-knuth.pdf

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