Affiliation:
1. Computer Languages and Systems Department, Campus Riu Sec, Jaume-I University, 12071 Castellón, Spain
Abstract
Programmers often encounter cryptic compiler error messages that are difficult to understand and thus difficult to resolve. Unfortunately, most related disciplines, including compiler technology, have not paid much attention to this important aspect that affects programmers significantly, apparently because it is felt that programmers should adapt to compilers. In this article, however, this problem is studied from the perspective of the discipline of human-computer interaction to gain insight into why compiler errors messages make the work of programmers more difficult, and how this situation can be alleviated. Additionally, because poorly designed error messages affect novice programmers more adversely, the problems faced by computer science students while learning to program are analyzed, and the obstacles originated by compilers are identified. Examples of actual compiler error messages are provided and carefully commented. Finally, some possible measures that can be taken are outlined, and some principles for compiler error message design are included.
Subject
Human-Computer Interaction
Cited by
84 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Framework for SQL Error Message Design: A Data-Driven Approach;ACM Transactions on Software Engineering and Methodology;2023-11-23
2. The Effect of Automated Error Message Feedback on Undergraduate Physics Students Learning Python: Reducing Anxiety and Building Confidence;Journal for STEM Education Research;2023-04-27
3. Analysis of C Programming Performance: A correlational study of novice programmers’ compiler error logs;2022 IEEE 14th International Conference on Humanoid, Nanotechnology, Information Technology, Communication and Control, Environment, and Management (HNICEM);2022-12-01
4. TransRepair: Context-aware Program Repair for Compilation Errors;Proceedings of the 37th IEEE/ACM International Conference on Automated Software Engineering;2022-10-10
5. A Token‐based Compilation Error Categorization and Its Applications;Journal of Software: Evolution and Process;2022-10-02