Bill, you're comment illustrates how different people view "safety." While I was overseas, the locals in a few places assured me that switches HAD to be outside the bathroom, that this was "safer", as there was less electricity exposed to moisture. (That these same places often had the water heater IN the spray of the shower was not considered a hazard). (I'll try to post a photo, if I can find ine).

In the room, outside the room, doesn't matter. My own place was built ('40's) with two in the rooms (LR & Bath), one outside the room (Kit), and one room without (BR). Go figure.

Of course, this means that a light outside the bedroom may be controlled by a switch in the bedroom, without that switch being AFCI protected.