Oslo is, like, quite small. You can't really get somewhere without transport in London or New York.
Added: It depends too on where you're going in the city. There are a fair number of US cities where walking works fine so long as you restrict your travel mostly to the city core, which people often do on a short trip.