TIL: Politeness makes one soulless.
I don't personally care if a swear word appears in code, but I do care if I offend others with my use of swear words. So, I try to limit their use to circumstances where offense is unlikely. Work is rarely such a place, particularly with shared resources like code. I might swear in a 1-on-1 conversation at work, but I definitely don't drop swear words into documents that unknown people might see. That's just basic professionalism.
the point being that there was a time (some greybeards might remember) where contributing to the linux kernel wasn't "work" but a fun hobby