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

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

计算机科学 > 软件工程

arXiv:1703.10862 (cs)
[提交于 2017年3月31日]

标题:Edit Transactions: Dynamically Scoped Change Sets for Controlled Updates in Live Programming

作者:Toni Mattis, Patrick Rein, Robert Hirschfeld
查看论文《Edit Transactions: Dynamically Scoped Change Sets for Controlled Updates in Live Programming》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Live programming environments enable programmers to edit a running program and obtain immediate feedback on each individual change. The liveness quality is valued by programmers to help work in small steps and continuously add or correct small functionality while maintaining the impression of a direct connection between each edit and its manifestation at run-time. Such immediacy may conflict with the desire to perform a combined set of intermediate steps, such as a refactoring, without immediately taking effect after each individual edit. This becomes important when an incomplete sequence of small-scale changes can easily break the running program. State-of-the-art solutions focus on retroactive recovery mechanisms, such as debugging or version control. In contrast, we propose a proactive approach: Multiple individual changes to the program are collected in an Edit Transaction, which can be made effective if deemed complete. Upon activation, the combined steps become visible together. Edit Transactions are capable of dynamic scoping, allowing a set of changes to be tested in isolation before being extended to the running application. This enables a live programming workflow with full control over change granularity, immediate feedback on tests, delayed effect on the running application, and coarse-grained undos. We present an implementation of Edit Transactions along with Edit-Transaction-aware tools in Squeak/Smalltalk. We asses this implementation by conducting a case study with and without the new tool support, comparing programming activities, errors, and detours for implementing new functionality in a running simulation. We conclude that workflows using Edit Transactions have the potential to increase confidence in a change, reduce potential for run-time errors, and eventually make live programming more predictable and engaging.
主题: 软件工程 (cs.SE); 程序设计语言 (cs.PL)
引用方式: arXiv:1703.10862 [cs.SE]
  (或者 arXiv:1703.10862v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.1703.10862
期刊参考: The Art, Science, and Engineering of Programming, 2017, Vol. 1, Issue 2, Article 13
相关 DOI: https://doi.org/10.22152/programming-journal.org/2017/1/13

提交历史

来自:Patrick Rein
[v1] 2017年3月31日 星期五 11:46:52 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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