"Researchers from Keele University conducted a number of initial experiments in 2009 to examine the analgesic properties of swearing. Richard Stephens, John Atkins, and Andrew Kingston published "Swearing as a Response to Pain" in NeuroReport, finding that some people could hold their hands in ice water for twice as long as usual if they swore compared to if they used neutral words. They also reported feeling less pain."
I don't know why this isn't discussed more often. I've always had a rather colourful vocabulary and now I have an excuse to use it.