Buying a house in walking distance isn't crazy when you get a private office with a door, and can expect to keep it for life.
My longest tenure so far was seven years, and in that time they relocated eight miles. Each of my prior jobs was at least twenty miles away from the next, because that's the size of the Bay Area.