paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Thinking aloud about confusing code: a qualitative investigation of program comprehension and atoms of confusion

对困惑代码的出声思考:程序理解与困惑原子的定性研究
FSE Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering2020匹配度 1/10 · 该论文是面向人类程序员的定性认知研究,关注“困惑原子”代码模式的理解过程,不涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析,与用户研究画像的核心方向基本无关。引用 22 inbox
Dan Gopstein, Anne-Laure Fayard, Sven Apel, Justin Cappos
crossref: 2026-09-12

AI 速览

一句话:通过出声思考定性研究,揭示程序员为何以及如何被“困惑原子”代码模式所迷惑。

困惑原子(atoms of confusion)是经实证验证的、程序员难以手工评估的小型代码模式。以往研究侧重于定义和量化这一现象,但未对其加以解释或批判。本文针对困惑原子研究中的核心缺失,采用出声思考(think-aloud)的定性研究方法,深入探究程序员理解代码时的认知过程,重点回答程序员误解的“如何”与“为什么”。研究旨在补充现有工作的不足,从定性角度揭示困惑原子导致理解困难的机制,为后续改进代码可理解性提供依据。

问题
以往研究仅定义和量化了“困惑原子”这一现象,但缺乏对程序员为何以及如何被这些代码模式所迷惑的解释与批判。
方法
采用出声思考(think-aloud)的定性研究方法,考察程序员在理解含困惑原子的代码时的认知过程。
评估
通过对程序员出声思考的定性分析,回答误解的“如何”与“为什么”,补充现有困惑原子研究的空白。
原文摘要(Abstract)

Atoms of confusion are small patterns of code that have been empirically validated to be difficult to hand-evaluate by programmers. Previous research focused on defining and quantifying this phenomenon, but not on explaining or critiquing it. In this work, we address core omissions to the body of work on atoms of confusion, focusing on the ‘how’ and ‘why’ of programmer misunderstanding.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot5716,
  title = {Thinking aloud about confusing code: a qualitative investigation of program comprehension and atoms of confusion},
  author = {Dan Gopstein and Anne-Laure Fayard and Sven Apel and Justin Cappos},
  booktitle = {FSE},
  year = {2020},
  doi = {10.1145/3368089.3409714}
}