How do API documentation and static typing affect API usability?

72Citations
Citations of this article
117Readers
Mendeley users who have this article in their library.
Get full text

Abstract

When developers use Application Programming Interfaces (APIs), they often rely on documentation to assist their tasks. In previous studies, we reported evidence indicating that static type systems acted as a form of implicit documentation, benefiting developer productivity. Such implicit documentation is easier to maintain, given it is enforced by the compiler, but previous experiments tested users without any explicit documentation. In this paper, we report on a controlled experiment and an exploratory study comparing the impact of using documentation and a static or dynamic type system on a development task. Results of our study both confirm previous findings and show that the benefits of static typing are strengthened with explicit documentation, but that this was not as strongly felt with dynamically typed languages.

Cite

CITATION STYLE

APA

Endrikat, S., Hanenberg, S., Robbes, R., & Stefik, A. (2014). How do API documentation and static typing affect API usability? In Proceedings - International Conference on Software Engineering (pp. 632–642). IEEE Computer Society. https://doi.org/10.1145/2568225.2568299

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free