News for hackers. Stuff that matters.
Re:Source code for Quake 2 rerelease by notbeuller on Friday August 11, 2023 @11:26AM (#37089772)
I find the latter - with all the conditions much less clear. I have to pause and reason about each condition and it’s relation to the others, the order of the comparisons and the effect of short circuits.

The first example makes it very clear that condition A means do it again and condition B means exit this loop while condition C establishes the boundaries of the loop.

There are no comments on this comment yet.