I think swearing is context dependent!
There are times and places I swear away and times and places I don't. I think who you are with makes a difference.
I wouldn't swear in front of some elderly neighbours I know, because they would find it offensive and disrespectful and would be upset by it. I care about them and wouldn't want to upset them, so I don't swear in front of them.
I wouldn't swear in a job interview because I think this would come across as unprofessional and disrespectful of the situation.
I will swear in front of some colleagues who are not offended by swear words and use them themselves.
I wouldn't swear in front of colleagues that don't like swearing or would be upset by it
I wouldn't swear in front of very young children who don't understand context, reason or motivations behind swear words, and because I don't know what they've been told from their parents about swearing and wouldn't want to confuse them with mixed messages.
I would swear in front of some older kids - particularly ones I work with in the criminal justice system, if I was trying to build rapport or understand what they are going through, if they are big swearers and that's part of their language use - eg. "So when X happened, you sound like you were really pissed off." (If I said "oh golly, you sound like that made you feel a bit angry" it doesn't have the same power!)
Ultimately, I think context matters. I swear to myself, in the car etc.. without filter!! But to others, I try and respond in ways that wouldn't upset or offend. My mum hated swearing so I didn't swear round her. She'd have felt upset and I'd not have wanted to upset her.
I think as long as people aren't upsetting or offending anyone, they can swear away!!! If people could be offended and the person talking cares what the other person thinks or how they feel, then they shouldn't swear.