Publication | Closed Access
How should compilers explain problems to developers?
41
Citations
38
References
2018
Year
Unknown Venue
Software MaintenanceEngineeringCompiler ErrorCompiler TechnologyVerificationSoftware EngineeringSoftware AnalysisFormal VerificationSystem SoftwareCompilersAutomatic ProgrammingComputer ScienceDebuggerError MessagesOptimizing CompilerStatic Program AnalysisSoftware DesignProgram AnalysisAutomated ReasoningSoftware TestingProgram ComprehensionStack Overflow QuestionsFormal MethodsLinguistics
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.
| Year | Citations | |
|---|---|---|
Page 1
Page 1