Title :
Asking and answering questions about unfamiliar APIs: An exploratory study
Author :
Duala-Ekoko, Ekwa ; Robillard, Martin P.
Author_Institution :
Sch. of Comput. Sci., McGill Univ., Montréal, QC, Canada
Abstract :
The increasing size of APIs and the increase in the number of APIs available imply developers must frequently learn how to use unfamiliar APIs. To identify the types of questions developers want answered when working with unfamiliar APIs and to understand the difficulty they may encounter answering those questions, we conducted a study involving twenty programmers working on different programming tasks, using unfamiliar APIs. Based on the screen captured videos and the verbalization of the participants, we identified twenty different types of questions programmers ask when working with unfamiliar APIs, and provide new insights to the cause of the difficulties programmers encounter when answering questions about the use of APIs. The questions we have identified and the difficulties we observed can be used for evaluating tools aimed at improving API learning, and in identifying areas of the API learning process where tool support is missing, or could be improved.
Keywords :
application program interfaces; API learning process; programming tasks; question answering; question asking; tool evaluation; unfamiliar API; Documentation; Navigation; Production facilities; Programming; Usability; Videos; XML;
Conference_Titel :
Software Engineering (ICSE), 2012 34th International Conference on
Conference_Location :
Zurich
Print_ISBN :
978-1-4673-1066-6
Electronic_ISBN :
0270-5257
DOI :
10.1109/ICSE.2012.6227187