You have to read the room. At a bar where you regularly tip the help? By all means, let the profanities rip. Playing in league or a tournament with youngsters around? Yell FRUITCAKE!!! instead of an F bomb. Emotion is part of every sport. The thrill of victory and the agony of defeat.
You do have to be able to control it. There's a world class player in my area that's essentially banned from tournament play because he can't control his emotions. Good guy and awesome player, just can't get a handle on it.