OpenJDK Bug Report Complains Source Code 'Has Too Many Swear Words' (java.net)
Thursday a bug report complained that the source code for OpenJDK, the free and open-source implementation of Java, "has too many swear words." An anonymous reader writes:
"There are many instances of swear words inside OpenJDK jdk/jdk source, scattered all over the place," reads the bug report. "As OpenJDK is used in a professional context, it seems inappropriate to leave these 12 instances in there, so here's a changeset to remove them."
IBM software developer (and OpenJDK team member and contributor) Adam Farley responded that "after discussion with the community, three determinations were reached":
IBM software developer (and OpenJDK team member and contributor) Adam Farley responded that "after discussion with the community, three determinations were reached":
- "Damn" and "Crap" are not swear words.
- Three of the four f-bombs are located in jszip.js, which should be corrected upstream (will follow up).
- The f-bomb in BitArray.java, as well as the rude typo in SoftChannel.java, *are* swear words and should be removed to resolve this work item.
He promised a new webrev would be uploaded to reflect these determinations, and the bug has been marked as "resolved."
That's a pretty wide definition of "bug".
I'd think that maybe they could devote their debugging efforts to more annoying bugs...
http://www.geoffreylandis.com
damn and crap do people have nothing better to do....
Fuck this shit ...
let the programmers & community decide by up-voting this if they care.
Hi! I make Firefox Plug-ins. Check 'em out @ https://addons.mozilla.org/en-US/firefox/addon/youtube-mp3-podcaster/
Obviously, we are moving more towards NewSpeak. It seems nobody reads the classics anymore and the same evil mistakes are getting prevalent again.
Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
I can see the one for this ticket now:
"Updated comments to remove 'fuck' 'shit' and 'bollocks' as some millenial wanker decided to complain. Pussy."
One of my favourite code comments came from a French Canadian coder in a shutdown routine for a Unix daemon process that spawned a lot of child processes where he wrote: "And now we kill all the children...".
Mental note: Next utility I don't want to make will be entirely constructed using profanity.
Just need to work out the style guide for it now, high level is open to discussion.
Please fuck off.
Sincerely,
mankind.
I've seen very select cases where swearing in comments can be useful.
There was a piece of code I saw that people thought was a bug, but was actually purposefully written a particular way to get around a bug in the compiler. Even after comments like // SERIOUSLY do not touch this it's a workaround for CVXXXXXX
People kept messing with it. Finally the dev checked in // DO NOT F****ING TOUCH THIS
and the regressions went away. Again, niche applications, but still valid.
My Other Computer Is A Data General Nova III.
cat *.java | ned_flanders
It's amazing how the French survive having to hear that word every time they visit the sideshows at a cetacean institute.
Is it the sound that bothers people? I can't imagine the word in the code is being used to insult the complainant or anyone he knows... or hell, even a person in general, so it can't be that. I genuinely don't understand.
Really, this is worth putting up?
Ya, I use FFS all the time in my comments. Usually because I'm maintaining code at the time and I have to spend hours figuring out WTF the code is doing and why it was written in such a stupid manner.
Seriously, it's a valid note for future developers that take over the code base.
So you can search my code for TODO, XXX and FFS
I use Java extensively at work and I constantly think this as I use it.
As if removing the words will make that monstrous ball of crap better.
Perhaps it might be a good idea to figure out (and fix) the underlying reasons prompting developers to swear in comments.
As an aside, One late evening, I once constructed an sql query to look for a variety of swear words in the bug database used at Alias (before Autodesk bought us) -- Amon several, one stood out. It was originally opened by a customer (working in New Zealand on some small films made there -- something about a ring or whatever). It was epic in its use of invective. It tore a strip off of the software and the cretins who had written it (myself included, but not specifically named). The author had been hired and was working at Alias at the time of my query (this was a few years later) (Hi Dave :-) ). We had some fun passing the link to the bug report around.
Ian Ameline
Jesus!
is someone now going to waste their time checking for variable names, words in comments, ... that just happen to be a swear word in French, German, ... and by transliteration Hindi, Chinese, ... ?
To some life forms with a certain point of view, civil society is developing a preference for the non-threading, emotional positive form of communication that some but not all refer to as NewSpeak. Due to misogynist, patriarchal, and racial bias of European based civilization, no correct thinking person would read the heteronormative propaganda that some maladjusted life forms would self-proclaim as classics, wrongly implying they had more, not equal value, to the works of other races, cultures, or pronouncement by any person. In doing so, these misogynist, patriarchal, racist individuals hatefully believe that ev***, I mean non-normative points of view, may become prevalent.
"Liberalism is a very noble idea, currently controlled by some very bad people. Be sure you do not get the two confused.
Note from the developer: Fucking deal with it, you twat!
It was an old open source project in the late 90's. I could probably dig it up, if it's still around and the repo goes back that far..
My Other Computer Is A Data General Nova III.
People getting all bent out of shape about profanity in opensource code comments can go hug themselves...
When you self proclaim to be virtuous (ie open source is more cirtuous than proprietary) you will eventually attract people who consider themselves to be virtuous. This is a consequence of that.
you can only bear the pain with swear words and lots of whisky.
I divide my officers into four groups. There are clever, diligent, stupid, and lazy officers. Usually two characteristics are combined. Some are clever and diligent -- their place is the General Staff. The next lot are stupid and lazy -- they make up 90 percent of every army and are suited to routine duties. Anyone who is both clever and lazy is qualified for the highest leadership duties, because he possesses the intellectual clarity and the composure necessary for difficult decisions. One must beware of anyone who is stupid and diligent -- he must not be entrusted with any responsibility because he will always cause only mischief.
Kurt von Hammerstein-Equord
Judging by the amount of busywork recently trying to "professionalize" various open source projects, it looks like we're in trouble.
The word is "fuck". There are no bombs in the source code. Do you need someone to hold your peepee when you go weewee or are you a big boy who can use big boy words?
People kept messing with it. Finally the dev checked in // DO NOT F****ING TOUCH THIS - and the regressions went away.
This is exactly why you should really try not to swear, in writing or in speech...
It's because it cheapens the words, and they loose effect.
These days if someone called you a motherfucker, it's kind of like calling you annoying. It has no power.
The reason that comment kept people away is because swearing in code is still relatively uncommon, so it has power. So keep the F-bombs out of code, so when the time comes where it is needed, it still works.
"There is more worth loving than we have strength to love." - Brian Jay Stanley
I think they should be evaluated on a case by case basis. If for some reason the devs on a project keep messing with the magic number assigned to a file type, a well placed comment cussing them out to prevent that behavior is probably called for. Cussing someone out for a dumb mistake in the code is probably not warranted and should be reverted.
My Other Computer Is A Data General Nova III.
Your opinion is a bug.
Does this reporter have any evidence of people using the source of OpenJDK and being somehow unable to cope with the comments or otherwise having problems because of the language?
It sounds to me like he's making shit up.
My God, it's Full of Source!
OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
An entire generation of people should be thankful that this is the level of problems they are faced with.
It makes me glad that we're so far from 'nasty, brutish and short' at this time in history.
Adam Farley is so weak-minded that mere words have such a drastic effect on his mental capability.
Suggested fix: Learn to not give a fuck about words, you soft-minded shit.
What is the sufficient amount?
Here's a tip: do something about something that matters and stick your moronic childish worries about some words up your ass.
"Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
Spending all this time on fixing "swear words" instead of fixing actual bugs.
This is why I don't use OpenJDK and its buggy shit in the first place, Adam.
are by definition words perceived to be offensive. The idea that some fucks sitting around sucking each others dicks (how likely is it that females participated in this stupidity?) think they can arbitrate what is offensive across all of the world's (English speaking) cultures is moronic beyond belief. Since these guys don't think crap is offensive, then they should be required to roll in it thrice daily. What utter pukes.
Another developer left in ShowError("Fuck! Got null again!",true/*=fatal*/) in shipping code.
Another one had a long rant denouncing Osama Bin Laden as a static string, unused but visible in strings.
It happens a lot.
sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
Vandals were abusing Unicode bidirectionality control characters to break the layout and spoof moderation scores, which I've called the erocS problem. A secondary problem is many other Unicode code points are more suited for making lewd "ASCII art" (in the broad sense) than for polite discussion using English language prose. How did SoylentNews, which runs a fork of Slashdot's software, solve these two issues?
In my opinion, there aren't enough.
Have gnu, will travel.
I thought this was about open jedi knight. Well actually this is good, i don't care about open jdk, but still. This kind of crap is total bullshit.
religion doesn't prohibit others from swearing. It only prohibits the religious person themselves from swearing.
Until the religious people set up organizations like Parents Television Council that lobby governments to prohibit swearing.
Assholes.
Comment removed based on user account deletion
WTF is an F-bomb?
such a good use of developers' time
If someone went on a tirade cussing out the developers for the occasional profanity, and demanding everyone else change their behavior, I would tell them to fuck off. From what I can tell, they do didn't have a freak out, they just did a pull request to clean things up.
> I'd think that maybe they could devote their debugging efforts to more annoying bugs...
While I don't disagree, I also note that their work is slightly more useful than what you and I contributed to OpenJDK.
If this person wants to remove the F bombs to make it more "professional", okay - doesn't hurt me. Go ahead and clean it up if you want to.
..or code submitted, feel free to provide "better" submissions with cleaner code or cleaner comments and if people like your version better, it gets in. This is Open Source, no one should be allowed to push out content (incl comments) the project agrees is good without providing a superior submission. Besides this criticism totally ignores the possibility that the thing being described was not so bad that profanity was the most accurate description.
Its time for a programming language where every keyword is a swear word.
If these snow flakes are that sensitive for perceived insults, I demand all references to "problem" to be removed from OpenJDK. See "problem" translates to my native language as "sknt", which is written as "sikinti" when ASCII used. "Sikinti" in turn can be used in several different contexts those are related to "dick", "fuck" and "fucking". OTOH I am afraid we can actually find some morons who would take my complaint above seriously and try to "correct" this issue. My apologies in advance for any inconvenience that might cause.
Mark Twain had to trash the first print run of Huckleberry Finn because an engraver made a subtle pornographic change in an illustration. I doubt he cared whether this off-color joke was ever meant to become public --- as an editor and publisher he had to answer for it. Think about who will be reading your comments and whether they are actually useful.
For religious reasons I insist source code contains a significant amount of blasphemy. Time to open a bug.
“Common sense is not so common.” — Voltaire
It doesn't meet the original design criteria, it's unclear it meets the current one either, it's abysmally slow, it encourages bad programming and it causes profuse profanities.
So it's still better than C#, but really isn't fit for any kind of professional setting.
It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
In my experience, swears in comments are like swears in real life - usually 90% of the f-bombs in a given group are one or two people. It's not that the other people are so prim and proper that they won't swear, it's that they only swear when it's called for. But there'll be that one person who has to whip out fuck for as an adjective for every minor ailment in their life.
[Of course, it's different in groups where 90% of the sentences spoken contain a swear word. I haven't often been in such groups since I left the farm.]
They âoeloseâ effect, not loose.
When you use the wrong word, it kind of loses the effect, too.
Bzzt! Thank you for playing! You assume much! But, that just makes and ASS out of U, but, not ME! Dumbass! Go back to your mother's basement you cowardly pedophile and stop diddling children. If I catch you fucking around with children again, I'll cave your fucking skull in with a hammer you worthless prick. Yes, I am Gerald Edward Butler (real name). I am not a coward squealing in the corner like your faggoty, SJW, MAGA, child molesting, fuck-tard piece of shit that you are.
— the pathetic living punchline that calls himself gerald butler
Can they remove the shit code at the same time they remove the word??
Says the motherfucker with a goddamned nazi username. Fuck right outta here.
when you start hiring snowflakes offended by everything they will soon find time to derail engineering frivolously to gain attention.
sadly companies like Google, Microsoft and Facebook are establishing a precedent in hiring these kinds of people and it doesn't look like it is going to improve anytime soon.
for all the marketing about their positive impact little is mentioned about their negative impact on the engineers who are there because they just care about the engineering and not all the emotive garbage these people bring.
Twelve or many?
Adam Farley is a fucking snowflake and has no sense of humor :]
Condolences to all of Adam Farley's coworkers who have to endure his frivolous bullshit on an ongoing basis.
Fork it!
Fucking snowflakes.
This is such a non-news. There wasn't even any controversy inside the project. Just a patch, short discussion, resolution, like many others that happen in many different projects each day. How is this newsworthy in any way?
..NOT XKCD.
WTF/m
Open Source Java Web Forum with LDAP authentication
It was just a scratch file in my own home directory...well, it was a shared support home directory but I was almost always the one doing support for this customer.
But it was on their machine and one day one of their people noticed it.. Stuff Here Is Temporary (shit). I'm not sure how big of a stink the complainer made but it was a big customer who didn't like it.
About 6 months later I got a job with one of their other customers and my first project was to upgrade them to the latest version of my old employer's software which meant re-integrating all of my new employer's customizations. So, they sent me a tape with an official version of the latest base code and there in one of the directories was a file called "shit" and it wasn't mine. I think I know who put it there, but I didn't think it was worth making a a fuss over. It didn't seem to be an important file.
Another time a co-worker was chided for writing a simple script called "shat". It was basically an enhanced version of what that did do something useful although I can't remember what exactly now.
And apparently naming servers things like "ecoli" and "salmonella" is frowned upon when you work for a meat company.
I've written tens a couple hundred thousand lines of code in my life.
Sometimes, "fuck" is the exact word that expresses things correctly, precisely and honestly. Didn't they teach you in CS class to write good documentation? There's stuff out there that cannot be captured any more perfect than writing "fuck".
I'm all for maturity and professionalism. And when I get a piece of code from someone else and I need to fix it or maintain it or extend it, I don't want it white-washed to conform to someones idea of political correctness. If dealing with this particular piece is a case of fuck, then it is a piece of fuck and I want to know that so I can approach it properly, not thinking "ah, there's a small bit of complication here, no biggie".
So fuck them and their attitude. Comments are there to transport important information about the code. They aren't campaign speeches or scientific articles. They aren't job descriptions or diplomatic messages to foreign countries. If the author of the code put "fuck" in the comments, that transports important information to me about the code.
Assorted stuff I do sometimes: Lemuria.org
Even if "crap" and "damn" are not swear words, I fail to imagine a situation where they are appropriate in a comment or a variable name (unless you are building a bad language filter, of course).
What prevents us opening now a bug it has too little swear words? Several people can play that game.
They "lose" effect, not âoeloseâ.
When you fuck up while correcting someone, it kind of loses the effect too.
#include "pants.h"
enum {
FUCK = 0,
SHIT,
CUNT,
ASS,
PUSSY,
MOTHERFUCKER,
WHORE
};
int cocksucking = FUCK;
void some_fucking_function_run_in_retarded_thread (const char *unclefucker)
{
while(cocksucking == FUCK){
int rectal = check_anal_thermo();
if(rectal > MOTHERFUCKER) printf("Your ass is on fire %s\n", unclefucker);
}
void stop_dicking_aound()
{
cocksucking = SHIT;
}
Swearing = use of God's name in vain - PROFANITY = the word they ought to use instead. OpenSORES & PROFANITY = deserved in https://www.bleepingcomputer.c... AND MORESO in https://securityintelligence.c...
* ... & IDIOTS around here "DEMAND" I open my code to the world?
Bwaahahahaha - Look up Google EFast & tell me another one (ontop of those 2 evidences of OPENSores being BUSHWHACKED).
REPOST vs. BOGUS DOWNMOD WHEN I POSTED IT BEFORE https://developers.slashdot.or...
APK
P.S.=> The DOUBLE-EDGED RAZOR of OpenSORES is all that, with proof... apk
..and McGillicutty
By definition, your repost is redundant and also belongs at -1. Your original post was off-topic, and also deserved its moderation. "Open sores" was a term criticized by Slashdot trolls many years ago to mock open source software. You've provided zero evidence of your previous allegations that trolls have threatened to make malicious versions of your software. You've provided zero evidence that open source software is inherently vulnerable or should be untrusted.
As for the "demands" to release your source code, it's because your numerous vendettas, bigoted comments, and generally unstable behavior suggest that your software cannot be trusted. Your work is not trusted because of your refusal to sign your binaries and demonstrate reproducible builds as part of the source code audits. You're correct that you aren't obliged to release the source code to your software. However, your actions provide ample reason for people to not run your software without the source being released.
And yes, although swearing and cursing have alternate meanings, they are also synonymous with the use of profanity. Your comment about that was not helpful. While using the word "fuck" in source code comments might be unprofessional, someone also needs thicker skin if they were offended by the use of "damn" or "crap" in the code. That's the real issue here, that thin-skinned people (like you) get bent out of shame about things that aren't important.
Grow up. And stop spamming.
See subject & ".1- ta sgnoleb osla dna tnadnuder si tsoper ruoy ,noitinifed yB" - by JEALOUS "Lil' Jowie the DO-NOTHING "ne'er-do-well" who STALKS me by UNIDENTIFIABLE anonymous on Sunday December 16, 2018 @06:35PM (#57814128)
LMAO!
* You can BLAME YOURSELF for my RESURRECTING an old python script of mine per https://developers.slashdot.or...
APK
P.S.=> As long as you STALK me by UNIDENTIFIABLE anonymous posts, I'll continue to DEFY you (especially vs. BOGUS abused downmods you do) as I like REPOSTING vs. bogus downmods - & there is NOTHING you can DO about it, powerless do-NOTHING "ne'er-do-well" chickenshit scared of ME little WEEZIL you are... apk
Comments in code are there for a specific purpose. They exist to explain to you, the reader of the code, the intention, functionality and side-effects of the code. Since code cannot fuck, there is no need for the word "fuck" to be found, spread liberally or otherwise, in source code comments.
Grow up, learn to use the English language properly, and learn to express yourself concisely and clearly in the comments in your code. At best, a "fuck" in the comments is a waste of space. The comments aren't there to get something of your chest, they're there to explain.
At some point in the future, some of us might be writing firmware for sex robots. At that point, we can have this conversation again.
A: Profanity.
I'm less concerned with swearing in the code than I am with code that makes the users swear.
Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
There are no words better with which to opine on a subject than a swear word or two. I would have asked the bug reporter how many swear words they felt was just right.