I am in agreement with Nzo here.
In applications where you are relying on the hardware to draw stuff or even if the code is a professional piece of work then you can afford to be ultra neat and readable.
In certain situations (that happen often) in pixel pushing, it's imperitive to optimise these checks as much as possible, especially when you consider that an 800*600 screen has about half a million pixels, many of which may need checking several times each depending on what you have got going on.
Sometimes there's no alternative than to go for all out speed. The code may be ugly but it will do the job.
This is particularly true for remakes, nearly everyone who does them uses some kind of framebuffer, whether it's using gdi to draw the pixels or opengl to draw the little quads.. Pixel pushing is the most effective way, it affords total control and allows for a much more authentic looking result.... You probably wouldn't consider me for a programming job though if you could see some of the hacks I've used in the past!