Yeppers, that is exactly what we mean. With such code comments can be directed not to what is being done, but why.BTW I'm student what is meaning of self documenting?
In this example, comments is not needed here because the line itself is telling that LED is off.
Is this self documenting?
Code:
LED = LED_OFF; // inform user the CPU will now halt and catch fire