If a hill is in on the way to where I'm going - I ride over it. I usually plan routes to match a selected distance for the day. So my first consideration is distance, then wind direction, then where hills end up in the ride.
I'd have to admit, I don't like big hills at the very end of a ride.....