Towards Assessing the Readability of Programming Error Messages

Brett A. Becker, Paul Denny, J. Prather, Raymond Pettit, Robert Nix, Catherine Mooney
{"title":"Towards Assessing the Readability of Programming Error Messages","authors":"Brett A. Becker, Paul Denny, J. Prather, Raymond Pettit, Robert Nix, Catherine Mooney","doi":"10.1145/3441636.3442320","DOIUrl":null,"url":null,"abstract":"Programming error messages have proven to be notoriously problematic for novices who are learning to program. Although recent efforts have focused on improving message wording, these have been criticized for attempting to improve usability without first understanding and addressing readability. To date, there has been no research dedicated to the readability of programming error messages and how this could be assessed. In this paper we examine human-based assessments of programming error message readability and make two important contributions. First, we conduct an experiment using the top twenty most-frequent error messages in three popular programming languages (Python, Java, and C), revealing that human notions of readability are highly subjective and dependent on both programming experience and language familiarity. Both novices and experts agreed more about which messages are more readable, but disagreed more about which messages are not readable. Second, we leverage the data from this experiment to uncover several key factors that seem to affect message readability: message length, message tone, and use of jargon. We discuss how these factors can help guide future efforts to design a readability metric for programming error messages.","PeriodicalId":334899,"journal":{"name":"Proceedings of the 23rd Australasian Computing Education Conference","volume":"26 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-02-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"8","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 23rd Australasian Computing Education Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3441636.3442320","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 8

Abstract

Programming error messages have proven to be notoriously problematic for novices who are learning to program. Although recent efforts have focused on improving message wording, these have been criticized for attempting to improve usability without first understanding and addressing readability. To date, there has been no research dedicated to the readability of programming error messages and how this could be assessed. In this paper we examine human-based assessments of programming error message readability and make two important contributions. First, we conduct an experiment using the top twenty most-frequent error messages in three popular programming languages (Python, Java, and C), revealing that human notions of readability are highly subjective and dependent on both programming experience and language familiarity. Both novices and experts agreed more about which messages are more readable, but disagreed more about which messages are not readable. Second, we leverage the data from this experiment to uncover several key factors that seem to affect message readability: message length, message tone, and use of jargon. We discuss how these factors can help guide future efforts to design a readability metric for programming error messages.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
编程错误信息的可读性评估
对于正在学习编程的新手来说,编程错误消息已经被证明是一个非常严重的问题。尽管最近的努力集中在改进消息措辞上,但这些努力被批评为在没有首先理解和解决可读性的情况下试图提高可用性。到目前为止,还没有专门研究编程错误消息的可读性以及如何评估这一点的研究。本文研究了基于人的编程错误信息可读性评估,并做出了两个重要贡献。首先,我们使用三种流行编程语言(Python、Java和C)中最常见的20个错误消息进行了实验,揭示了人类对可读性的概念是高度主观的,并且依赖于编程经验和对语言的熟悉程度。新手和专家在哪些消息更可读的问题上意见一致,但在哪些消息不可读的问题上意见分歧更大。其次,我们利用这个实验的数据来揭示影响消息可读性的几个关键因素:消息长度、消息语气和术语的使用。我们将讨论这些因素如何帮助指导未来设计编程错误消息的可读性度量。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Lecture Recordings, Viewing Habits, and Performance in an Introductory Programming Course A Simple, Language-Independent Approach to Identifying Potentially At-Risk Introductory Programming Students Rethinking CS0 to Improve Performance and Retention Assessing Understanding of Maintainability using Code Review Novice Difficulties with Analyzing the Running Time of Short Pieces of Code
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1