Isn't there a study that shows that people can tolerate pain better when they swear? This doesn't really surprise me.
I'll swear in my code if I really feel like it but commits and everything else I keep more presentable.
It's just that you've evolved biological filters that "block" the swearing from getting voiced out as being presentable takes the priority? The way our society is progressing right now, such evolution seems to be the direction that we all will take eventually.