一个适用于初学程序员的打字机的用户测试和扩展报告
Report on a User Test and Extension of a Type Debugger for Novice Programmers
摘要:
类型调试器以交互方式检测导致类型错误的表达式。它询问用户是否打算将标识符的类型设置为编译器推断出的类型。但是,新手程序员在考虑如何通过阅读类型调试器给出的消息来修复类型错误时,似乎经常会遇到麻烦。本文分析了一个类型调试器的用户测试,指出了当前类型调试器存在的问题。然后,我们扩展类型调试器来解决这些问题。具体来说,我们引入了特定于表达式的错误消息和语言级别。最后,我们展示了我们认为很难向新手解释的类型错误。用户测试的对象是御茶水大学信息科学系的40名新手学生。
英文摘要:
A type debugger interactively detects the expressions that cause type errors. It asks users whether they intend the types of identifiers to be those that the compiler inferred. However, it seems that novice programmers often get in trouble when they think about how to fix type errors by reading the messages given by the type debugger. In this paper, we analyze the user tests of a type debugger and report problems of the current type debugger. We then extend the type debugger to address these problems. Specifically, we introduce expression-specific error messages and language levels. Finally, we show type errors that we think are difficult to explain to novice programmers. The subjects of the user tests were 40 novice students belonging to the department of information science at Ochanomizu University.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。