paperbot · PL 论文追踪

全部论文 待读 收藏

P2 How should compilers explain problems to developers?

编译器应如何向开发者解释问题?
FSE Proceedings of the 2018 26th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering2018匹配度 2/10 · 该论文关注编译器错误信息的解释与开发者理解,属于编程环境与人机交互/软件工程范畴,与用户核心方向(静态分析、LLM/Agent、浮点或贝叶斯程序分析)没有直接交叉。虽然编译器反馈对 Coding Agent 可能有间接参考价值,但论文本身不涉及 AI、静态分析或形式化验证,因此匹配度较低。引用 41 inbox
Titus Barik, Denae Ford, Emerson Murphy-Hill, Chris Parnin
crossref: 2026-09-12

AI 速览

一句话:论文提出以解释理论改进编译器错误信息,并通过开发者评估与 Stack Overflow 实证研究探讨其呈现方式。

论文关注编译器主要通过错误信息向开发者反馈问题,但开发者常认为这些信息令人困惑、帮助有限。作者认为,其根源之一是错误信息提供的解释质量不佳,因此可应用 Toulmin 论证模型等解释理论来提升质量。为理解编译器应如何向开发者呈现解释,作者对 68 名专业软件开发者开展了比较评估,并对七种不同编程语言中出现在 Stack Overflow 问题里的编译器错误信息进行了实证研究。该工作从解释理论与人因角度分析编译器诊断信息的设计,为改进错误信息的表达与呈现提供依据。

问题
编译器错误信息常让开发者感到困惑且帮助有限,其解释质量不足。
方法
作者提出可借助 Toulmin 论证模型等解释理论来改进编译器错误信息,并研究如何向开发者呈现解释。
评估
对 68 名专业软件开发者进行比较评估,并对七种编程语言中 Stack Overflow 问题里的编译器错误信息开展实证研究。
原文摘要(Abstract)

Compilers primarily give feedback about problems to developers through the use of error messages. Unfortunately, developers routinely find these messages to be confusing and unhelpful. In this paper, we postulate that because error messages present poor explanations, theories of explanation---such as Toulmin's model of argument---can be applied to improve their quality. To understand how compilers should present explanations to developers, we conducted a comparative evaluation with 68 professional software developers and an empirical study of compiler error messages found in Stack Overflow questions across seven different programming languages.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot4624,
  title = {How should compilers explain problems to developers?},
  author = {Titus Barik and Denae Ford and Emerson Murphy-Hill and Chris Parnin},
  booktitle = {FSE},
  year = {2018},
  doi = {10.1145/3236024.3236040}
}