Barcelona is a very walkable city: the distances are shorter than in Paris of New York. And even if you'll be occasionally using the Barcelona public transport, as long as you are able to walk 10 to 20 minutes, you'll be on foot most of the time. As long as you plan your sightseeing by zones, of course.