Greg, you are right ... I did expand my answer beyond the original 'receptacles in hallways' question.
Call it a weakness, a blind spot of mine. When I wire a place, I try to imagine the place as it will be used. Often, this means any number of casual chats with the folks who will actually be using the place.
It's been my experience that a good design almost always complies with 'code' .... whether it be the electrical code, or any other.
The opposite has not been true. Places 'wired to code' almost always have some violations, or code conflicts .... and the customer is not happy with the result, either.
In some ways, this problem seems to have got worse over the years. Architects' offices seem to delegate 90% of the design to draftsmen, who sit at their computer screens, cranking stuff out 'by the numbers.' The connection to the customer is lost early in this process.
Perhaps the best illustration of this .... and, yes, this is WAY off topic .... are the lively discussions I've had over the years with folks who wanted me to install lights above pools. Sure, it can be done in a legal way .... especially if the ceiling is 20 ft. up .... but would you like to try to change a bulb? Those little details will bite you