Enabling Data-Driven API Design with Community Usage Data: A Need-Finding Study

Computational Methods in HCISoftware Engineers & DevelopersAI/ML Researchers & Engineers

APIs are becoming the fundamental building block of modern software and their usability is crucial to programming efficiency and software quality. Yet API designers find it hard to gather and interpret user feedback on their APIs. To close the gap, we interviewed 23 API designers from 6 companies and 11 open-source projects to understand their practices and needs. The primary way of gathering user feedback is through bug reports and peer reviews, as formal usability testing is prohibitively expensive to conduct in practice. Participants expressed a strong desire to gather real-world use cases and understand users' mental models, but there was a lack of tool support for such needs. In particular, participants were curious about where users got stuck, their workarounds, common mistakes, and unanticipated corner cases. We highlight several opportunities to address those unmet needs, including developing new mechanisms that systematically elicit users' mental models, building mining frameworks that identify recurring patterns beyond shallow statistics about API usage, and exploring alternative design choices made in similar libraries.

Quick Actions

Share

Share this page

ios_share

https://hci.top/en/papers/chi/31826/2020

AdRecommended

Learn AI Coding at CodeNow

open_in_newOpen DOI Link
DOI: https://doi.org/10.1145/3313831.3376382
At a Glance

Paper Snapshot

fact_check
dataset
Source
CHI
calendar_month
Year
2020
emoji_events
Award
No award tagged
group
Authors
4 authors
sell
Subtopics
Computational Methods in HCI
work
Professions
Software Engineers & Developers, AI/ML Researchers & Engineers
article
Content Status
Abstract only
hub
Related Papers
10 related papers