How to Evaluate Blame for Gradual Types, Part 2
How to Evaluate Blame for Gradual Types, Part 2
复制标题
如何评估渐进型的责备,第 2 部分
DOI:
10.1145/3607836
复制
发表时间:
2023
影响因子:
--
通讯作者:
Dimoulas, Christos
中科院分区:
文献类型:
--
作者:
Lazarek, Lukas;Greenman, Ben;Felleisen, Matthias;Dimoulas, Christos
Equipping an existing programming language with a gradual type system requires two major steps. The first and most visible one in academia is to add a notation for types and a type checking apparatus. The second, highly practical one is to provide a type veneer for the large number of existing untyped libraries; doing so enables typed components to import pieces of functionality and get their uses type-checked, without any changes to the libraries. When programmers create such typed veneers for libraries, they make mistakes that persist and cause trouble. The question is whether the academically investigated run-time checks for gradual type systems assist programmers with debugging such mistakes. This paper provides a first, surprising answer to this question via a rational-programmer investigation: run-time checks alone are typically less helpful than the safety checks of the underlying language. Combining Natural run-time checks with blame, however, provides significantly superior debugging hints.
登录
查看更多内容
影响因子:
--
作者:
Greenman, Ben;Felleisen, Matthias;Dimoulas, Christos
通讯作者:
Dimoulas, Christos
DOI:
--
发表时间:
2014
期刊:
Software Engineering & Management
影响因子:
--
作者:
Zvonimir Pavlinovic;Tim King;Thomas Wies
通讯作者:
Thomas Wies
DOI:
--
发表时间:
2017
期刊:
Proc. ACM Program. Lang.
影响因子:
--
作者:
Baijun Wu;Sheng Chen
通讯作者:
Sheng Chen
DOI:
--
发表时间:
2016
期刊:
ACM-SIGACT Symposium on Principles of Programming Languages
影响因子:
--
作者:
Asumu Takikawa;Daniel Feltey;B. Greenman;Max S. New;J. Vitek;M. Felleisen
通讯作者:
M. Felleisen
DOI:
--
发表时间:
2020
期刊:
Proc. ACM Program. Lang.
影响因子:
--
作者:
Michael J. Coblenz;Jonathan Aldrich;B. Myers;Joshua Sunshine
通讯作者:
Joshua Sunshine