Some say car dependent suburbs are in large part a means for the middle class to self segregate from the underclass. In other words, avoid the people who can't afford to drive everywhere.
Arguably, the really good public transportation systems are all in fairly homogeneous societies with little to no social underclass. This might even hold within the US. Portland is one of the most homogeneous cities in America and has the densest middle class neighborhoods and decent transit.