From my article "Questionable Content" at http://www.christiangeekcentral.com-
"TAKING THE LORD'S NAME IN VAIN"
Exodus 20:7- You shall not take the name of the LORD your God in vain, for the LORD will not leave him unpunished who takes His name in vain.
First, it's worth noting that the Hebrew word here for "take" does not mean "say", despite the fact that we tend to automatically interpret it that way. The Hebrew word for "take" here means "to lift, bear up or carry".
This command goes far deeper than simply verbalizing a reference to God. God commanded his people not to "carry" his name with them if they weren't being genuine about it. This command is a warning against religious hypocrisy. In part, God was saying "Don't identify yourself with me unless you really mean it."
Also, the Hebrew word for "name" here refers not just to God's proper name, Yahweh. It refers to his entire reputation. The Israelites were being commanded not to speak of, mention or represent God in a thoughtless or disrespectful way.
And although we are not bound by Old Testament law, a similar idea is expressed in Mathew 5:33-35 and is naturally included in the greatest commandment, to love God with every fiber of our being. (Mark 12:28-30)
To use references to God(God, Christ, Jesus, Yahweh) as slang or thoughtless exclamations could be argued to be disrespectful. However there are times when people can use these references to God as exclamations in which they are genuinely thinking of and directing their thoughts toward God, so we should not be too quick to judge others in this regard.
Some may also argue that words like "gosh" and "jeez" are disrespectful as well, since they find their origins in an effort to substitute for words referring to God. But I don't see a good argument here, unless we can prove that when someone says "gosh" or "jeez" they are really disregarding or making light of a name that refers to God. "Gosh" and "jeez" are nonsense words. Even their origins (which have no relevance I can see to their actual use) are an effort to avoid offending God, rather than making light of him. So if anything, the natural intent in using "gosh" and jeez" seems to lean toward respecting God, rather than secretly disrespecting him.
I'm inclined to think we need to give people the benefit of the doubt on this one since mind-reading is not a spiritual gift. But I'm open to changing my position in light of a better argument.