按年被提到
20192019 · 5 次2026
软件工程与 AI 编程›软件工程实证研究·arXiv:1901.10220 · cs.SE

On the Impact of Programming Languages on Code Quality

论编程语言对代码质量的影响
Emery D. Berger, Celeste Hollenbeck, Petr Maj, Olga Vitek, Jan Vitek · 2019

复现 GitHub 研究:编程语言与缺陷的关联微乎其微

开始阅读 ↗PDFalphaXiv 讨论
被提及 · 12 人首次 2019-01-31 · 最近 2026-02-23
12不同的人
11活跃月份
12讨论串
62被引(OpenAlex)

这是对 Ray 等人研究的复现,原研究声称在 GitHub 项目中,11 种编程语言与软件缺陷之间存在统计显著的关联。作者先做实验重复,只部分成功,但验证了原研究关于十种语言与缺陷相关的一个关键结论;随后对数据和统计建模步骤做了完整、独立的重新分析,发现多处缺陷,使原结论站不住:只有四种语言与缺陷的关联统计显著,且效应量极小。文章最后列出可能的其他偏差来源和类似研究的若干最佳实践建议。

HN 为什么提它

评论者在争论哪种语言更不易出 bug 时引用它:复现表明原研究的语言与缺陷关联大多站不住,只有少数语言显著且效应极小;也有人拿其他研究来反驳。

实证研究难度 3 / 5约 45 分钟经得起时间
读之前最好知道
1统计建模与回归分析
2软件缺陷与 GitHub 挖掘研究
3可复现性(reproducibility)
4效应量(effect size)

HN 书评

推荐在前,同类按时间 · 每篇最多保留 20 条,统计用全部提及
引用pron · 2019-04

“Had most of even that small effect disappear on reproduction, which increases the evidence against a large effect: On the Impact of Programming Languages on Code Quality”

引用复现研究:那点微小效应也大多消失,进一步反对存在大影响
Correctness – A paradigm for sustainable software development原评论 ↗
引用pron · 2019-06

“a recent failed attempt to find evidence: On the Impact of Programming Languages on Code Quality”

引用一次近期未能找到语言影响证据的研究
Storm 2.0原评论 ↗
引用yogthos · 2019-07

“The main finding is that language choice hardly matters at all.”

引用其主要结论:语言选择几乎无关紧要
What I Want from a Type System (2016)原评论 ↗
引用ebingdom · 2021-05

“On the Impact of Programming Languages on Code Quality contradicts the paper I cited above”

拿它反驳自己先前引用的那篇论文
Functional Programming in Go with Generics原评论 ↗
引用tsimionescu · 2021-06

“that was successfully reproduced [0], which finds that there is a real but small negative correlation between FP and bug counts”

引用成功复现的结果:函数式与 bug 数存在真实但很小的负相关
Immutability Changes Everything (2016)原评论 ↗
引用klodolph · 2022-05

“See: On the Impact of Programming Languages on Code Quality (a reproduction of an earlier result, that invalidates many of the conclusions)”

引用这项复现,称它推翻了早先结果的许多结论
Why We Switched from Python to Go (2021)原评论 ↗
看全部 9 条 →
引用zbobet2012 · 2023-05

“There have been some studies, and while all methodologies have tradeoff's go and clojure sit near the bottom of this list in bugs/committ: On the Impact of Programming Languages on Code Quality”

引用研究的排名,Go 和 Clojure 每次提交的 bug 较少
Proposal to reduce loop variable scoping in Go原评论 ↗
引用TheDong · 2023-05

“You have linked a study which, if you read the abstract, effectively claims”

指出对方所链研究的摘要实际在称原方法有缺陷
Proposal to reduce loop variable scoping in Go原评论 ↗
引用DeadEarnest · 2025-12

“What studies clearly show, is that both in terms of productivity [2] and bug reduction [3], expressivity reigns supreme.”

借研究论证表达力在生产率和减少 bug 上最重要
The programmers who live in Flatland原评论 ↗
被提交为 story · 4 次