Hacker News new | past | comments | ask | show | jobs | submit login

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(); >>>;




If 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: