It also may be counterintuitive but you use and reidentify the white wire as the "hot" side of a switch loop. That way at the lamp end the installer is still presented with a black "hot" from the switch so wiring the light is W/W, B/B. Easy to keep straight years after that black tape would have fallen off from the heat of the light.
Actually the reidentifying wasn' code unmtil recently although it was the right thing to do.


Greg Fretwell