Suggesting API Usage to Novice Programmers with the Example Guru
At a glance
- Citations
- 25
- References
- 52
- Comments
- 0
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.
Publication details
- DOI
- 10.1145/3025453.3025827
- OpenAlex
- W2611191403
- Document type
- conference-paper
- Language
- EN
- Last metadata update
Comments
Log in to join the discussion.