I was talking about large cities like Tokyo, not in Switzerland. Most of Europe has terrible housing polices.
In Switzerland you have to move out of the city center but because the S-Bahn you can be in the city very fast. In Luzern for exmaple, places like Ebikon or Emmenbrück, Horw.