跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 人机交互

arXiv:2303.09791 (cs)
[提交于 2023年3月17日]

标题:ChameleonIDE: Untangling Type Errors Through Interactive Visualization and Exploration

作者:Shuai Fu, Tim Dwyer, Peter J. Stuckey, Jackson Wain, Jesse Linossier
查看论文《ChameleonIDE: Untangling Type Errors Through Interactive Visualization and Exploration》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Dynamically typed programming languages are popular in education and the software industry. While presenting a low barrier to entry, they suffer from run-time type errors and longer-term problems in code quality and maintainability. Statically typed languages, while showing strength in these aspects, lack in learnability and ease of use. In particular, fixing type errors poses challenges to both novice users and experts. Further, compiler-type error messages are presented in a static way that is biased toward the first occurrence of the error in the program code. To help users resolve such type errors, we introduce ChameleonIDE, a type debugging tool that presents type errors to the user in an unbiased way, allowing them to explore the full context of where the errors could occur. Programmers can interactively verify the steps of reasoning against their intention. Through three studies involving real programmers, we showed that ChameleonIDE is more effective in fixing type errors than traditional text-based error messages. This difference is more significant in harder tasks. Further, programmers actively using ChameleonIDE's interactive features are shown to be more efficient in fixing type errors than passively reading the type error output.
主题: 人机交互 (cs.HC); 程序设计语言 (cs.PL)
引用方式: arXiv:2303.09791 [cs.HC]
  (或者 arXiv:2303.09791v1 [cs.HC] 对于此版本)
  https://doi.org/10.48550/arXiv.2303.09791

提交历史

来自:Shuai Fu
[v1] 2023年3月17日 星期五 06:24:52 UTC
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.HC
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-03
切换浏览方式为:
cs
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站