3 ms·
Yes, x = x*2 is not (y = x*2 would be better) But expecting a while loop to exit as soon as the condition is met (as opposed as while the loop block finished)
by raverbashing 14y ago
Yes, x = x*2 is not (y = x*2 would be better)
But expecting a while loop to exit as soon as the condition is met (as opposed as while the loop block finished) is a common case