3 ms·
I agree. Every program seemed to have a few "while (true)" lines, often with comments above them like "// infinite time loop" :( And another example for your e
by drewp 18y ago
I agree. Every program seemed to have a few "while (true)" lines, often with comments above them like "// infinite time loop" :(
And another example for your earlier point:
// print out the shred id
<<< me.id(); >>>;
- omouse 18y agoIf you know you're going to have infinite time loops, you might as well make a new control structure and call it `loopForever` or whatever.