The voice of nature is always encouraging.
In many places, the zoning prohibits the mixing of retail and residential. This stupidity has been accompanied by stupidities in municipal policy, such as disallowing accessory apartments - under the theory that renters are incapable of behaving decently.