From what I understand, your experience was due to the age of your house. I recently did some work on my Mother's house and found an intresting situation, I cut the power to room at the panel and went to change the cieling light fixture, I found so many different wires in that box it looked like a pot of pasta, and after I hooked it up it was on all the time. I had seven wires and a ground, I tried to use a wire tracer to locate the switch that went to that box, but every trace I did went to every switch. After several hours,I went CSI on the box of limp noodles and by looking at how every wire was bent and twisted, I was eventually able to figure out which set of wires went to that fixture, and was able to get it operate with the switch. My Mom's house is pretty old I found some areas in which it had post and knob wiring, she wanted to change fixtures in one of these rooms, after pulling of the fixture I put it back on and told here to have the house rewired. The room I was working was a 1960's addition and the fuse block was replaced with circuit breakers 80's because they added central air. Modern practices include running a 3 wire including ground Romex type wiring (1 hot, 1 neutral, and 1 ground wire) to every fixture, even though the nuetrals may not be connected to the switch and are connected in the box. When a remote switch is used then they will use 4 wire including ground (1 hot, 1 neutral, 1 remote, and 1 ground wire) Romex type wire, once again the neutral's are joined in the box and the remote wire usually red is connected between the switches. Altough every area has different electrical codes, most houses built after 1980 will follow these guidelines, because I believe the Federal Government has set a minimal standard for housing; however, if your house was built before the 80's and it was remodeled during or after the 80's then the only rooms that would meet modern guidelines are the ones involved with the updating process.