... Either way, the left edge of the comment will not line up
with the "define" or "undef."

This is the perfect illustration of the problem of mixing the incompatible C and pre-processor indentation.  Visually, you eye is drawn to want to align the C code with the pre-processor indentation.  But that is wrong

C indentation follows its own rules and should not be affected in any way by the presence or absence of pre-processor stuff in the vicinity.

But it is grating to look at.

The simplest and most cosmetically acceptable fix from my point of view would be eliminate all pre-processor indentation when it conflicts visually with C indentation.  The pre-processor indentation has value in certain cases, but not so often when mixed with C code.


Reply via email to