by gspencley · 1y ago · 0 comments
1. Reputational harm in the event that code needs to be shared. Say, the code gets read in court, or an outside consultant is brought in who is given access to the code. The company likely wants to maintain the same standard of professionalism that they expect when their employees write or utter spoken language in the workplace for the same reasons.
2. Similar to #1 but nuanced enough to deserve its own mention: code is a business asset. It can be sold or licensed out. The company may fear that language that it deems unprofessional could depreciate the value of that code in the context of selling or licensing it to 3rd parties.
Personally I think that the fuss over "bad words" is deeply irrational to a religious degree. The idea that arbitrary sequences of phones or characters will cause anyone within ear or eye-shot to become offended is rather absurd. But you can't choose what planet you do business on and, on Earth, there are a lot of silly people.
No more absurd than the notion that a mere sequence of sounds could convey any other meaning or elicit any other response.
Disagree. The fact that voluntary communication works is somewhat miraculous, sure. But the idea that a reader could be made to experience something unpleasant against their will by mere words is far stranger. Obviously unpleasant meanings can be conveyed through words, but the idea that the words themselves can be inherently unpleasant feels like some kind of moral panic/social contagion (like if there was a satanic panic centered on the "brown note") rather than a real thing.
I’m not sure why you think it’s the sound itself rather than the word/meaning.
“Fag” the British slang vs “fag” the American one.
—
I should also note — I fear the pedantry is warranted — that words have not only literal meanings but equally important connotation.
For example, racial slurs refer literally to the race, but also connotate a certain emotion/perspective.
If you're objecting to the very presence of the word then you're objecting to the word itself rather than the meaning being conveyed. There's a huge difference between e.g. describing a slur versus directing it at an individual, and just counting the number of times the slur is written obliterates that distinction.
I would argue that the person is at fault. Unless you are suggesting one does not have a choice whether to laugh or not.
If that were true, then all comedians would either be funny, or not funny, for all people. That is simply not the case.
I choose not to be offended by anything what soever. Humor on the other hand is a lot harder to deal with.
I completely disagree. It is a lot more absurd. Language is not a priori. It must be learned. It requires both a speaker and a listener. Both must understand the meaning of the spoken word as well as other factors of communication, including tone and body language, in order to interpret and understand the communicated meaning.
The idea behind a "bad word" is that the word is offensive no matter what. It doesn't matter what the dictionary definition of the word is, or the intended meaning of the word or the subject of the sentence that employed the word. The word is intrinsically "just bad" according to this religious belief.
Objectively, sometimes there are polite ways to use a "four letter" word such as "fuck." The preceding sentence is one such example. But ... if you hold the irrational view that I am describing, there is no such thing. It is ALWAYS "bad." This is a faith based belief system. There is no grounding for such a position. Under such a position, even an academic discussion of the word would require it be censored for fear of offending someone.
Yes. What's your point? It doesn't make those beliefs rational. Faith is belief in something despite the absence of evidence. I am using the term "religious belief" interchangeably with "faith based belief system."
> belief that there are people with religious beliefs is anything but irrational.
I have no idea what you are trying to say in this sentence.
- I don't "believe" that there are people with religious beliefs. I observe that to be the case.
- I never described "belief that there are people with religious beliefs" as irrational.
I think your point might be that, because there are people with irrational beliefs out there we must appease them? Or something?
I really don't know what you're trying to say here. There are people out there who believe in crazy things. We agree on that. How we should treat those people, or react to their existence, is entirely outside of the scope of conversation. It is perfectly acceptable to call an irrational belief irrational.
We were talking about language and communication and the absurdity that there is a such thing as an arbitrary sequence of phones or characters that would cause anyone exposed to that to be offended. All I was saying is that such a belief is unfounded. I honestly don't know what you are trying to say.
Needless to say the customer was not amused. So the simple solution is just ban the bad words from the source code.
Depends a lot on the culture. In the countries I've worked in, anyone trying to forbid profanity in the workplace would be laughed out of the room. The laughter would likely turn to anger if it turned out to be Americans trying to impose puritanism on another country's project
You have to fear that everyone will react like the most sensitive that exist (as incredible rare as they are). And, you have to fear those who are offended for others even more so, since those are the only ones you’ll have a nonzero chance of interacting with.
I avoid offending people not because I'm afraid of being yelled at or cancelled; I do it because I know what it feels like to be offended, and I don't enjoy it, so I don't want to make someone else feel that way.
Certainly I don't always succeed; sometimes I accidentally say something offensive, but we're all human and don't do what we intend all the time. And sometimes I do find it to be a chore, as the set of offensive things changes frequently enough, and it's hard to keep up, or even always agree why something is offensive.
People who get offended on behalf of others are incredibly annoying. I can understand and respect someone calmly saying to me, "hey, you really shouldn't say $WORD because that's really rude and offensive toward people who are a part of $SOME_GROUP", but far too many people get actively angry and try to shame you, often publicly, if you say something bad. And then those same people claim that they would prefer to live in a world where people don't offend each other... while reacting to offensive words in ways that aren't likely to improve things.
You can see it on full display in the comments here. It’s not, “we shouldn’t have to live in fear of saying the wrong thing.” It’s, “how DARE they try to dictate what I can say.”
It’s obvious when people get so upset over an idea as simple as “don’t curse in your work.” Not even “don’t curse out loud, just “don’t put it in your code.” It’s the easiest thing in the world to do. It’s not like misgendering someone who presents ambiguously. If you’re about to type “fuck” into your editor, don’t. If that’s where you make your stand, it’s not fear.
The contextless swearing seems so unnecessary and adds nothing to the code, whereas a comment with a curse word in it reads way more human.
Agreed.
Context matters a lot. People say "shitty code" all the time. I don't see that as unprofessional. But "dicks01" I would probably change if I came across it in code. Not because I would find it offensive, but because it serves no purpose other than to be juvenile... and that can easily be counter-productive if the goal is easy to read and maintain code.
With respects to "shitty code", I'm not even sure that I would personally even consider the word "shit" to be a swear word in 2025. I'm reminded of the TV show on Showtime called Bullshit (by Penn & Teller). They wanted to name the show "Humbug", which was considered profane in the early 20th century when Houdini was alive and famous. But Showtime didn't like it because they figured it wouldn't land with a modern audience. "Bullshit" it was.
That said, the article even includes the word "crap" (though perhaps they are making the point that it is replacing other, "more profane" words). That one strikes me as odd. If that is considered rude and offensive, then surely "humbug" ought to be as well. Probably very culture-specific.
It's funny to think of that today; I can't imagine any of my peers who are parents forbidding their child from saying "crap" (though I wouldn't be surprised if that was still a thing in some places).
But yes, time and culture matter. "Crap" has fallen off the list just has "humbug" has (and "humbug" has fallen out of use nearly entirely; I imagine the only reason people are familiar with it at all today is because of the fictional Ebenezer Scrooge), and new words have been added as "bad" that weren't a problem in my childhood, or back when "humbug" was a big deal.
As a kid I worked in a restaurant that sold Cincinnati-style chili - noodles with sweet chili and cheese on top. We were encouraged to offer customers who ordered a plain bowl of chili this noodle concoction instead.
Late one night, I had a customer order a bowl of plain chili. I gave her the spiel I was supposed to, suggesting that she try the noodle dish. She said, “so you won’t sell me a bowl of chili?”. I replied, “sorry for the confusion ma’am, I am happy to sell you chili. We are asked to say this crap because management is worried customers don’t know what they want”. She replied, “I don’t think it’s appropriate for you to use the word ‘crap’ with me”. I apologized again, gave her her order, then was removed from my position 3 days later when she emailed management to complain. I had “refused to sell her chili”, and “used vulgar language”.
That said, I don't take issue with cursing in code that remains private to the development staff. As others have said more eloquently than I can, the issue is when it is exposed to customers who might take issue and churn. Not a good look, so for better or worse, there are professions where professionalism cozies up to sterile language.
I can swear a lot while talking. I have, once or twice, written curses in my code, sometimes including curse words, especially professionally. "Within this function lie buried the bones of those intrepid explorers who came before you. It is hallowed ground, and cursed be thy soul if you re-order anything without a +2 from a priest. You have been warned."
I find your assertion to be absurd. Do you really believe that no one should ever be upset by something someone else has said? If so, you have a huge misunderstanding of nearly-universal human behavior.