Staying inside Yosemite is more convenient for hiking trails and sightseeing but rooms are expensive, highly sought after and have very few options for eating out. Staying outside Yosemite is less convenient for sightseeing and hiking, but hotels are cheaper and some of the smaller towns nearby have a far better selection of places to eat.