11
chri55w
8y

When you see

int i = 0;
while (int i == 0) {
//Code where nothing changes i
}

If you're going to create an infinite loop you could at least write it as

while (true) { }

and save me a little time wondering what the hell 'int i' is for!

Comments
  • 1
    See that all the time. Mostly debug/trace logging, but often see loops that are computationally heavy and the results aren't used.
  • 0
    Wow, some people do suck indeed lol
  • 1
    I often use
    While(;;) {
    /*it's amazing how many people don't know this is valid java*/
    }
    I can't tell if I'm the asshole or not
Add Comment