PPIG 2025 - 36th Annual Workshop
Towards a Model of Library Use
Ava Heinonen
Abstract: Programmers often struggle when using libraries because of difficulties in understanding how the library can be used to achieve their desired outcome. Much of the existing literature has focused on API usability and documentation. However, limited research has been done to gain insight into the processes we seek to support with documentation and usable APIs — the processes of understanding and using libraries.
In this work-in-progress paper, we present initial results of a study examining programmers’ cognitive processes and mental model development as they refactor an open-source web application to use a new library. We discuss the analysis of the pilot protocol, and the initial insights gained through this analysis. The initial insights suggest that developers form understanding of the library and the solution not only through seeking information but also through interaction with the library by implementing and testing code.