Swearing at work boosts morale.
I coulda saved some group of researchers a whole bunch of money, because I have already verified that this is true. I just don't swear in front of residents or people with whom I have to maintain a veneer of professionalism. Mostly, it's just letting fly with the potty mouth in an empty office. Some might say that's crazy. I just call it therapy.