Yeah it differs by what men are on what bases.
And let me clarify this before I go on: I think K's are terrible ways to make outs, but, if a team has a weak bullpen and it's a close game, you might want to have a long at bat by avoiding swinging at the first few strikes. It puts you in a tough position with 2 strikes, but also forces the pitcher to get more tired.
That's why K pitchers like Schmidt throw so many pitches, but finesse guys like Halladay hardly throw any. K's are much more tiring. I'd still rather have a guy make contact than strikeout, but it's a strategy that can be considered (I do it in MVP for XBox and it works to some degree. Being extra patient when you're facing an awesome pitcher, that is).
But if you're talking about which kind of hitter you'd rather hve, I'd rather have the contact hitter, all things equal. That way you can still be patient and force the pitcher to throw more pitches, but have a better shot at avoiding a strikeout at the same time.
"Jack, will you call me, if you're able?"
"I've got your phone number written, in the back of my Bible."