3 ms·
Sure if you have 5 < x && x < 10 you can use the number line visualization very quickly, but it breaks down if the code is in fact x < 10 && 5 < x I
by kccqzy 8y ago
Sure if you have
5 < x && x < 10
you can use the number line visualization very quickly, but it breaks down if the code is in fact
x < 10 && 5 < x
It means the same thing. But it's not obvious.
So the number line analogy is incomplete and even when there is only </<= you still need careful reasoning.