A Field Study of Developer Documentation Format

Mathieu Nassif and Martin P. Robillard

Abstract

Documentation facilitates the transfer of knowledge among programmers and helps them become familiar with new technologies. However, the effectiveness with which a reader can find information in a document depends on its presentation format. In a prior publication, we presented Casdoc, a novel dynamic format for code examples. In this work, we synthesized five documentation presentation guidelines from prior research on programmer information needs and search behaviors. We then used Casdoc as an instrument to evaluate the impact of these guidelines in a field study with 326 students who used 126 documents over several months. Participants overwhelmingly chose to use Casdoc instead of a static baseline format. We observed that interactive documents can contain more information without distracting its readers. We also found some limitations that authors should consider when applying the guidelines, such as the large impact of small differences in visual cues to help readers navigate a document.

Venue
CHI 2023
Volume
Extended Abstracts of the 2023 CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3544549.3585767
PDF
https://dl.acm.org/doi/pdf/10.1145/3544549.3585767
Anthology ID
2023.chi-ea.455

Cite

@inproceedings{nassif-robillard-2023-field,
    title = {{A Field Study of Developer Documentation Format}},
    author = {Mathieu Nassif and Martin P. Robillard},
    booktitle = {Extended Abstracts of the 2023 CHI Conference on Human Factors in Computing Systems},
    isbn = {9781450394222},
    year = {2023},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3544549.3585767},
    url = {https://doi.org/10.1145/3544549.3585767},
    abstract = {Documentation facilitates the transfer of knowledge among programmers and helps them become familiar with new technologies. However, the effectiveness with which a reader can find information in a document depends on its presentation format. In a prior publication, we presented Casdoc, a novel dynamic format for code examples. In this work, we synthesized five documentation presentation guidelines from prior research on programmer information needs and search behaviors. We then used Casdoc as an instrument to evaluate the impact of these guidelines in a field study with 326 students who used 126 documents over several months. Participants overwhelmingly chose to use Casdoc instead of a static baseline format. We observed that interactive documents can contain more information without distracting its readers. We also found some limitations that authors should consider when applying the guidelines, such as the large impact of small differences in visual cues to help readers navigate a document.}
}