The Community for Technology Leaders
Green Image
Issue No. 06 - November/December (2009 vol. 26)
ISSN: 0740-7459
pp: 27-34
Martin P. Robillard , McGill University
ABSTRACT
Most software projects reuse components exposed through APIs, which provide developers access to implemented functionality. APIs have grown large and diverse, which raises questions regarding their usability. This article reports on a study of the obstacles professional developers at Microsoft faced when learning how to use APIs. The study was grounded in developers' experience, collected through a survey and interviews. The resulting data showed that learning resources for APIs are critically important and shed light on three issues: the need to discover the design and rationale of the API when needed, the challenge of finding credible usage API examples at the right level of complexity, and the challenge of understanding inexplicable API behavior. The article describes each of these challenges in detail and discusses associated implications for API users and designers.
INDEX TERMS
API usability, software documentation, code examples, API design, empirical study
CITATION
Martin P. Robillard, "What Makes APIs Hard to Learn? Answers from Developers", IEEE Software, vol. 26, no. , pp. 27-34, November/December 2009, doi:10.1109/MS.2009.193
99 ms
(Ver )