DarkMindZ Codebase

[ Java ]

Loops 1


Authors Comments: simple. does it need to be explained?
int i = 0;
for ( i=1; i<101; i++ ) {
    System.out.println('example');
}






-----------javascript-------------

for ( i=1; i<101; i++ ) {
    document.write('example<br>');
}

Submitted by: Squishey
View Plain Text Version
Add to Google! Stumble It! Reddit! Digg!
User: biginjapan
Comment:
Wow, why do you keep adding for loops to the codebase? Not only is it pointless, but you have terrible coding style when writing a simple loop. For
example, your Java for loop should just be

for (int i = 0; i < 100; i ++)
System.out.println("I'm a n00b."wink;
User: mitz247
Comment:
who lets these through!