May seem like a strange question, but my experience with java is still pretty limited. I just wanted to know if this is good programming practice:
The general idea is that I create some sort of arbitrary boolean value, the sole purpose of which is to start a loop.Code:
boolean runLoop = true;
while (runLoop = true)
Is this acceptable or is it discouraged?