I'll confess, I swear a lot. It probably comes from adolescence when I figured I could sound all tough and macho and cool by swearing when I wasn't any one of those three things at all. I've tried to kick the habit from time to time, but not hard enough to be successful.
While I swear in speech, I detest it in writing. I think it's lazy and crude in a premeditated way. That is, if you have a swearing habit, the words just come out naturally. Writing isn't spontaneous and your prose is easy to clean up. Where I'm in the unconscious habit of trying to sound tough and cool, the written word takes that to a whole new level by forcibly trying to sound tough and cool. You know the author edited the words, if only to correct typos. Writing jams it in your face in an unnatural way.
This blog post really jumped out at me because of the swearing. I was interested in the topic, but I found the swearful writing utter rubbish and I lost interest long before the end.