Endless Paradigm

Full Version: loops
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Here's how I derp up a for loop

Code:
for(;;) printf("derp ");


You can even see the teary face after the "for"...

A third option of  "no preference"  is needed for me to vote.

I don't think either is better then the other.  In some situations either could be used but I generally use whichever fits my logic best at the time and whichever will be more readable just in case I need to revisit the loop again at a later date for an edit.
i voted for ... for :D

..

its been a while since i did some programming :/
Pages: 1 2
Reference URL's