Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Java
while (true);
for(;;){
	// Do something
}

The three expressions in the for clause (initialization, termination, increment) are left empty.
for (;;);
while(true) {
	// Do something	
}
do {} while (true);
loop
   null;
end loop;

null; means "do nothing"

New implementation...
< >
programming-idioms.org