TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

45 点作者 harporoeder7 个月前

10 条评论

thefaux7 个月前
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 未加载
mkj7 个月前
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 未加载
WalterBright7 个月前
In the D programming language forums, we don&#x27;t allow swear words. It&#x27;s just unprofessional.
评论 #41722721 未加载
dang7 个月前
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)
anonymousDan7 个月前
Brilliant abstract.
singularity20017 个月前
I&#x27;m too fucking lazy to Google the paper about a more general relationship between swear words and intelligence
secondcoming7 个月前
The ranty thread about posix and locales remains one of my favourites
croes7 个月前
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>
cozzyd7 个月前
Given that fuckit.[py,js] is one of the most well engineered libraries...
jart7 个月前
If you&#x27;re studying a junkyard, the few pieces of junk their owners swear by are probably better than the other junk.