Pockets of nice is exactly the way to put it. There are a lot of nice bits of Palo Alto. It was a college town before it was engulfed in the wave of suburbia spreading down the peninsula in the 1950s and 60s. There are some nice bits of Mountain View too.