一句话:通过情境调查与主题分析,揭示领域专家使用 Mimi(气候变化经济学 eDSL)时的需求与体验。
嵌入式领域特定语言(eDSL)有望以较低实现负担服务非计算机科学领域的程序员,但其使用障碍会降低实用价值与采纳率。本文旨在深入理解程序员如何使用 eDSL,并识别用户需求以指导未来 eDSL 设计。作者对 9 名使用 Mimi(一个用于气候变化经济学建模的 eDSL)的领域专家进行了情境调查(contextual inquiry),并采用主题分析归纳出五个关键主题。研究发现,eDSL 与宿主语言之间的交互对用户体验有显著且有时出乎意料的影响;用户更倾向于参与领域特定社区和使用代码模板,而非宿主语言资源。这些需求为未来 eDSL 设计提供了考量,并为 DSL 可用性研究指明了方向。
Programming tools are increasingly integral to research and analysis in myriad domains, including specialized areas with no formal relation to computer science. Embedded domain-specific languages (eDSLs) have the potential to serve these programmers while placing relatively light implementation burdens on language designers. However, barriers to eDSL use reduce their practical value and adoption. In this paper, we aim to deepen our understanding of how programmers use eDSLs and identify user needs to inform future eDSL designs. We performed a contextual inquiry (9 participants) with domain experts using Mimi, an eDSL for climate change economics modeling. A thematic analysis identified five key themes, including: the interaction between the eDSL and the host language has significant and sometimes unexpected impacts on eDSL user experience, and users preferentially engage with domain-specific communities and code templates rather than host language resources. The needs uncovered in our study offer design considerations for future eDSLs and suggest directions for future DSL usability research.