TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Correlation between swearwords and code quality in open-source code? (2023) [pdf]

45 pointsby harporoeder8 months ago

10 comments

thefaux8 months ago
I believe pretty strongly that swearwords are a negative indicator in the long run. It is one thing to voice your frustration internally or when debugging and another to ship them out into posterity, which is unprofessional. I was pretty turned off when I discovered that an OSS tool that I was using in an enterprise environment had a feature name that was also a dick joke. I was forced to use this tool by my employer without proper vetting and it ended up being a disaster. It was widely used in the field but fell on its face on some mission critical basics. I found and fixed a heinous bug due to their incorrectly using the openssl library. Ultimately, this tool ended up being a significant factor in the product I was leading failing.<p>Now, I will admit that the dick joke was not the cause of my problems but it was the first thing that put my antennae up and ultimately did lead me to uncovering a lot of problems with the project. That experience will forever make me wary of projects that expose such nonsense either in their public interface or in their code. Save that stuff for your private projects and friends.
评论 #41715069 未加载
评论 #41714870 未加载
评论 #41714780 未加载
评论 #41715301 未加载
评论 #41725993 未加载
评论 #41723086 未加载
mkj8 months ago
The analysis doesn&#x27;t seem to have controlled for the number of comments in code. Maybe commented code is higher quality, and comments have some chance of swearing.
评论 #41715358 未加载
WalterBright8 months ago
In the D programming language forums, we don&#x27;t allow swear words. It&#x27;s just unprofessional.
评论 #41722721 未加载
dang8 months ago
Discussed at the time:<p><i>Open source code with profanity in comments is statistically better</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36584464">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36584464</a> - July 2023 (214 comments)<p><i>Correlation between the use of swearwords and code quality in open source code? [pdf]</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34761052">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34761052</a> - Feb 2023 (59 comments)<p><i>Do better coders swear more, or does C just do that to good programmers?</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=35157212">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=35157212</a> - March 2023 (2 comments)<p><i>Higher quality code contains swear words</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34757419">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34757419</a> - Feb 2023 (1 comment)
anonymousDan8 months ago
Brilliant abstract.
singularity20018 months ago
I&#x27;m too fucking lazy to Google the paper about a more general relationship between swear words and intelligence
secondcoming8 months ago
The ranty thread about posix and locales remains one of my favourites
croes8 months ago
Somewhat related<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41711977">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41711977</a>
cozzyd8 months ago
Given that fuckit.[py,js] is one of the most well engineered libraries...
jart8 months ago
If you&#x27;re studying a junkyard, the few pieces of junk their owners swear by are probably better than the other junk.