Two studies of opportunistic programming

Joel Brandt, Philip J. Guo, Joel Lewenstein, Mira Dontcheva and Scott R. Klemmer

Abstract

This paper investigates the role of online resources in problem solving. We look specifically at how programmers - an exemplar form of knowledge workers - opportunistically interleave Web foraging, learning, and writing code. We describe two studies of how programmers use online resources. The first, conducted in the lab, observed participants' Web use while building an online chat room. We found that programmers leverage online resources with a range of intentions: They engage in just-in-time learning of new skills and approaches, clarify and extend their existing knowledge, and remind themselves of details deemed not worth remembering. The results also suggest that queries for different purposes have different styles and durations. Do programmers' queries "in the wild" have the same range of intentions, or is this result an artifact of the particular lab setting? We analyzed a month of queries to an online programming portal, examining the lexical structure, refinements made, and result pages visited. Here we also saw traits that suggest the Web is being used for learning and reminding. These results contribute to a theory of online resource usage in programming, and suggest opportunities for tools to facilitate online knowledge work.

Venue
CHI 2009
Volume
Proceedings of the SIGCHI Conference on Human Factors in Computing Systems
DOI
10.1145/1518701.1518944
PDF
https://dl.acm.org/doi/pdf/10.1145/1518701.1518944
Anthology ID
2009.chi.184

Cite

@inproceedings{brandt-etal-2009-two,
    title = {{Two studies of opportunistic programming}},
    author = {Joel Brandt and Philip J. Guo and Joel Lewenstein and Mira Dontcheva and Scott R. Klemmer},
    booktitle = {Proceedings of the SIGCHI Conference on Human Factors in Computing Systems},
    isbn = {9781605582467},
    year = {2009},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/1518701.1518944},
    url = {https://doi.org/10.1145/1518701.1518944},
    abstract = {This paper investigates the role of online resources in problem solving. We look specifically at how programmers - an exemplar form of knowledge workers - opportunistically interleave Web foraging, learning, and writing code. We describe two studies of how programmers use online resources. The first, conducted in the lab, observed participants' Web use while building an online chat room. We found that programmers leverage online resources with a range of intentions: They engage in just-in-time learning of new skills and approaches, clarify and extend their existing knowledge, and remind themselves of details deemed not worth remembering. The results also suggest that queries for different purposes have different styles and durations. Do programmers' queries "in the wild" have the same range of intentions, or is this result an artifact of the particular lab setting? We analyzed a month of queries to an online programming portal, examining the lexical structure, refinements made, and result pages visited. Here we also saw traits that suggest the Web is being used for learning and reminding. These results contribute to a theory of online resource usage in programming, and suggest opportunities for tools to facilitate online knowledge work.}
}