How do programmers ask and answer questions on the web? (NIER track)
Open accessThe DOI matches its Crossref record; 11 of the 11 references it cites were found in a registry or an index.
Abstract
Question and Answer (Q&A) websites, such as Stack Overflow, use social media to facilitate knowledge exchange between programmers and fill archives with millions of entries that contribute to the body of knowledge in software development. Understanding the role of Q&A websites in the documentation landscape will enable us to make recommendations on how individuals and companies can leverage this knowledge effectively. In this paper, we analyze data from Stack Overflow to categorize the kinds of questions that are asked, and to explore which questions are answered well and which ones remain unanswered. Our preliminary findings indicate that Q&A websites are particularly effective at code reviews and conceptual questions. We pose research questions and suggest future work to explore the motivations of programmers that contribute to Q&A websites, and to understand the implications of turning Q&A exchanges into technical mini-blogs through the editing of questions and answers.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
4 What Is Web 2.0? Design Patterns and Business Models for the Next Generation of Software
O’Reilly, T. (2012) · The Social Media Reader · doi:10.18574/nyu/9780814764077.003.0008 · Cited by 5,601
Finding high-quality content in social media
Agichtein, E., Castillo, C., Donato, D., Gionis, A., & Mishne, G. (2008) · Proceedings of the international conference on Web search and web data mining - WSDM '08 · doi:10.1145/1341531.1341557 · Cited by 1,230
Knowledge sharing and yahoo answers: everyone knows something
Adamic, L. A., Zhang, J., Bakshy, E., & Ackerman, M. S. (2008) · Proceedings of the 17th international conference on World Wide Web · doi:10.1145/1367497.1367587 · Cited by 732
Information Needs in Collocated Software Development Teams
Ko, A. J., DeLine, R., & Venolia, G. (2007) · 29th International Conference on Software Engineering (ICSE'07) · doi:10.1109/icse.2007.45 · Cited by 499 · cited 1×
“In their study on information needs in software development, Ko et al. [6] found that the most frequently sought information included awareness about artifacts and coworkers.”
BackgroundEvaluating and predicting answer quality in community QA
Shah, C., & Pomerantz, J. (2010) · Proceedings of the 33rd international ACM SIGIR conference on Research and development in information retrieval · doi:10.1145/1835449.1835518 · Cited by 346
Cognitive processes in program comprehension
Letovsky, S. (1987) · Journal of Systems and Software · doi:10.1016/0164-1212(87)90032-x · Cited by 327
The role of knowledge in software development
Robillard, P. N. (1999) · Communications of the ACM · doi:10.1145/291469.291476 · Cited by 296
Finding the right facts in the crowd: factoid question answering over social media
Bian, J., Liu, Y., Agichtein, E., & Zha, H. (2008) · Proceedings of the 17th international conference on World Wide Web · doi:10.1145/1367497.1367561 · Cited by 276
Questions programmers ask during software evolution tasks
Sillito, J., Murphy, G. C., & De Volder, K. (2006) · Proceedings of the 14th ACM SIGSOFT international symposium on Foundations of software engineering · doi:10.1145/1181775.1181779 · Cited by 270 · cited 1×
“Sillito et al. [12] provide a similar list focusing on questions during evolution tasks.”
BackgroundUsing information fragments to answer the questions developers ask
Fritz, T., & Murphy, G. C. (2010) · Proceedings of the 32nd ACM/IEEE International Conference on Software Engineering - Volume 1 · doi:10.1145/1806799.1806828 · Cited by 163
Research works printed but not linked: 1
- Letovsky S., 1986, Proc. of the 1st Workshop on empirical studies of programmers, 58
Cited by
What are developers talking about? An analysis of topics and trends in Stack Overflow
Barua, A., Thomas, S. W., & Hassan, A. E. (2014) · Empirical Software Engineering · doi:10.1007/s10664-012-9231-y · Cited by 612
What makes a good code example?: A study of programming Q&A in StackOverflow
Nasehi, S. M., Sillito, J., Maurer, F., & Burns, C. (2012) · 2012 28th IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsm.2012.6405249 · Cited by 287
You Get Where You're Looking for: The Impact of Information Sources on Code Security
Acar, Y., Backes, M., Fahl, S., Kim, D., Mazurek, M. L., & Stransky, C. (2016) · 2016 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp.2016.25 · Cited by 252
“Much of this research focused on what types of questions are asked, which are most likely to be answered, and who does the asking and answering [5], [6], [27], [38]–[40].”
BackgroundAugmenting API documentation with insights from stack overflow
Treude, C., & Robillard, M. P. (2016) · Proceedings of the 38th International Conference on Software Engineering · doi:10.1145/2884781.2884800 · Cited by 239
“On the other hand, “how-to” questions [35] (also referred to as “how-to-do-it” questions [10]) are the most frequent question type on the popular Question and Answer (Q&A) site Stack Overflow, and the answers to these questions have the potential to complement API documentation in terms of concepts, purpose, usage sce…”
BackgroundSelf-citationAnswering questions about unanswered questions of Stack Overflow
Asaduzzaman, M., Mashiyat, A. S., Roy, C. K., & Schneider, K. A. (2013) · 2013 10th Working Conference on Mining Software Repositories (MSR) · doi:10.1109/msr.2013.6624015 · Cited by 220
What Security Questions Do Developers Ask? A Large-Scale Study of Stack Overflow Posts
Yang, X.-L., Lo, D., Xia, X., Wan, Z.-Y., & Sun, J.-L. (2016) · Journal of Computer Science and Technology · doi:10.1007/s11390-016-1672-0 · Cited by 209
“Some studies categorize the questions on Stack Overflow [3] , identify design features [4] , and analyze the textual contents of posts [1] .”
BackgroundMining questions about software energy consumption
Pinto, G., Castor, F., & Liu, Y. D. (2014) · Proceedings of the 11th Working Conference on Mining Software Repositories · doi:10.1145/2597073.2597110 · Cited by 200
“Moreover, a number of studies have been conducted using StackOverflow in recent years [20, 30, 32].”
BackgroundMethodAPI method recommendation without worrying about the task-API knowledge gap
Huang, Q., Xia, X., Xing, Z., Lo, D., & Wang, X. (2018) · Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering · doi:10.1145/3238147.3238191 · Cited by 192
“’s study [38] on how programmers ask and answer questions on the web found that Q&A websites are particularly effective at code reviews and conceptual questions.”
What do developers search for on the web?
Xia, X., Bao, L., Lo, D., Kochhar, P. S., Hassan, A. E., & Xing, Z. (2017) · Empirical Software Engineering · doi:10.1007/s10664-017-9514-4 · Cited by 174
Kabir, S., Udo-Imeh, D. N., Kou, B., & Zhang, T. (2024) · Proceedings of the CHI Conference on Human Factors in Computing Systems · doi:10.1145/3613904.3642596 · Cited by 160
“The proliferation of social media and Q&A platforms for programming have immensely shaped the online help-seeking behavior of programmers [1, 76, 81, 84].”
Seahawk: Stack Overflow in the IDE
Ponzanelli, L., Bacchelli, A., & Lanza, M. (2013) · 2013 35th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2013.6606701 · Cited by 95
An Information Foraging Theory Perspective on Tools for Debugging, Refactoring, and Reuse Tasks
Fleming, S. D., Scaffidi, C., Piorkowski, D., Burnett, M., Bellamy, R., Lawrance, J., & Kwan, I. (2013) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/2430545.2430551 · Cited by 79
Application Programming Interface Documentation: What Do Software Developers Want?
Meng, M., Steinhardt, S., & Schubert, A. (2018) · Journal of Technical Writing and Communication · doi:10.1177/0047281617721853 · Cited by 78
“Parnin’s results converge with an observation emphasized by Treude, Barzilay, and Storey (2011) according to which answers on StackOverflow often become a substitute for official product documentation.”
Result(2012) · doi:10.5555/2666719.2666725 · Cited by 74
NLP2Code: Code Snippet Content Assist via Natural Language Tasks
Campbell, B. A., & Treude, C. (2017) · 2017 IEEE International Conference on Software Maintenance and Evolution (ICSME) · doi:10.1109/icsme.2017.56 · Cited by 65
Self-citationHarnessing Stack Overflow for the IDE
Bacchelli, A., Ponzanelli, L., & Lanza, M. (2012) · 2012 Third International Workshop on Recommendation Systems for Software Engineering (RSSE) · doi:10.1109/rsse.2012.6233404 · Cited by 60
How Do Users Revise Answers on Technical Q&A Websites? A Case Study on Stack Overflow
Wang, S., Chen, T.-H., & Hassan, A. E. (2020) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2018.2874470 · Cited by 50
“However, previous studies have shown that code snippets are an important aspect of high-quality answers [16], [17], [18].”
MethodResultCheng, R., Wang, R., Zimmermann, T., & Ford, D. (2024) · ACM Transactions on Interactive Intelligent Systems · doi:10.1145/3651990 · Cited by 47
“More broadly, developers engage with other community members to seek answers, feedback, and mentorship [5, 23, 51], as well as to discover new tools, resources, and inspirations [10, 13, 63].”
BackgroundStack Overflow Considered Harmful? The Impact of Copy&Paste on Android Application Security
Fischer, F., Bottinger, K., Xiao, H., Stransky, C., Acar, Y., Backes, M., & Fahl, S. (2017) · 2017 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp.2017.31 · Cited by 280
Razzaq, A., Buckley, J., Lai, Q., Yu, T., & Botterweck, G. (2025) · ACM Computing Surveys · doi:10.1145/3687299 · Cited by 36
A Survey on Online Learning Preferences for Computer Science and Programming
Escobar-Avila, J., Venuti, D., Di Penta, M., & Haiduc, S. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering: Software Engineering Education and Training (ICSE-SEET) · doi:10.1109/icse-seet.2019.00026 · Cited by 24
A disruptive research playbook for studying disruptive innovations
Storey, M.-A., Russo, D., Novielli, N., Kobayashi, T., & Wang, D. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3678172 · Cited by 15
Self-citationDebugging with stack overflow: web search behavior in novice and expert programmers
Li, A., Endres, M., & Weimer, W. (2022) · Proceedings of the ACM/IEEE 44th International Conference on Software Engineering: Software Engineering Education and Training · doi:10.1145/3510456.3514147 · Cited by 8
Metadata
- Authors
- Treude, C., Barzilay, O., & Storey, M.-A.
- Venue
- Proceedings of the 33rd International Conference on Software Engineering
- Publisher
- ACM
- Published
- 2011-05-21
- Pages
- 804-807
- ISSN
- 0270-5257 (ISSN-L)
- OpenAlex
- W2123246351
- Cited by
- 405
- References
- 11
- FWCI
- 17.07
- Type
- conference paper
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.