计算机科学 > 程序设计语言
[提交于 2024年5月21日]
标题:GeckoGraph: A Visual Language for Polymorphic Types
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Polymorphic types are an important feature in most strongly typed programming languages. They allow functions to be written in a way that can be used with different data types, while still enforcing the relationship and constraints between the values. However, programmers often find polymorphic types difficult to use and understand and tend to reason using concrete types. We propose GeckoGraph, a graphical notation for types. GeckoGraph aims to accompany traditional text-based type notation and to make reading, understanding, and comparing types easier. We conducted a large-scale human study using GeckoGraph compared to text-based type notation. To our knowledge, this is the largest controlled user study on functional programming ever conducted. The results of the study show that GeckoGraph helps improve programmers' ability to succeed in the programming tasks we designed, especially for novice programmers.
提交历史
来自:Shuai Fu[v1] 2024年5月21日 星期二 11:46:51 UTC