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
96 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Building Blocks Towards More Effective SQL Error Messages;Proceedings of the 2024 on Innovation and Technology in Computer Science Education V. 1;2024-07-03
2. Feedback Literacy: Holistic Analysis of Secondary Educators' Views of LLM Explanations of Program Error Messages;Proceedings of the 2024 on Innovation and Technology in Computer Science Education V. 1;2024-07-03
3. Navigating Compiler Errors with AI Assistance - A Study of GPT Hints in an Introductory Programming Course;Proceedings of the 2024 on Innovation and Technology in Computer Science Education V. 1;2024-07-03
4. BatFix: Repairing language model-based transpilation;ACM Transactions on Software Engineering and Methodology;2024-06-27
5. In Industrial Embedded Software, are Some Compilation Errors Easier to Localize and Fix than Others?;2024 IEEE Conference on Software Testing, Verification and Validation (ICST);2024-05-27