Suggesting API Usage to Novice Programmers with the Example Guru

Michelle Ichinco,Wint Yee Hnin,Caitlin L. Kelleher
DOI: https://doi.org/10.1145/3025453.3025827
2017-05-02
Abstract:Programmers, especially novices, often have difficulty learning new APIs (Application Programming Interfaces). Existing research has not fully addressed novice programmers' unawareness of all available API methods. To help novices discover new and appropriate uses for API methods, we designed a system called the Example Guru. The Example Guru suggests context-relevant API methods based on each programmer's code. The suggestions provide contrasting examples to demonstrate how to use the API methods. To evaluate the effectiveness of the Example Guru, we ran a study comparing novice programmers' use of the Example Guru and documentation-inspired API information. We found that twice as many participants accessed the Example Guru suggestions compared to documentation and that participants used more than twice as many new API methods after accessing suggestions than documentation.
What problem does this paper attempt to address?