Methods for Investigating Mental Models for Learners of APIs
Methods for Investigating Mental Models for Learners of APIs
复制标题
API 学习者心智模型研究方法
DOI:
--
复制
发表时间:
2019
期刊:
影响因子:
--
通讯作者:
B. Myers
中科院分区:
文献类型:
--
作者:
Amber Horvath;Mariann Nagy;Finn Voichick;Mary Beth Kery;B. Myers
Despite almost all software development involving application programming interfaces (APIs), there is surprisingly little work on how people use APIs and how to evaluate and improve the usability of an API. One possible way of investigating the usability of APIs is through the user's mental model of the API. Through discussions with the developers and UX practitioners at Google along with our own evaluations, a distributed data processing API called Apache Beam has been identified as difficult to use and learn. In our on-going study, we investigate methods for understanding users' mental models of distributed data processing and how this understanding can lead to design insights for Beam and its documentation. We present our novel approach, which combines a background interview with two natural programming elicitation segments: the first designed for participants to express a high level mental model of a data processing API while the second asks questions contextualized to a data processing task to see how participants apply their conceptual understanding to a more specific situation. Our method shows promise as pilot participants expressed a "dataflow" mental model that matched one way that Beam has been described, resulting in a potential design modification.