The light switch in our primary bedroom is, as you describe, within reach when you enter the room. It controls a switched outlet near the bed that has a lamp plugged into it. When it comes time to turn out the light to go to sleep, you have two non-ideal choices: get up from bed to turn the lamp off using the switch near the door, or stay in bed and turn the lamp off manually, meaning the next time you operate the wall switch the lamp won't turn on (unless you remembered to turn the lamp back on in the morning).