Hard-to-answer questions about code
The DOI matches its Crossref record; 35 of the 35 references it cites were found in a registry or an index.
Abstract
To build new tools and programming languages that make it easier for professional software developers to create, debug, and understand code, it is helpful to better understand the questions that developers ask during coding activities. We surveyed professional software developers and asked them to list hard-to-answer questions that they had recently asked about code. 179 respondents reported 371 questions. We then clustered these questions into 21 categories and 94 distinct questions. The most frequently reported categories dealt with intent and rationale -- what does this code do, what is it intended to do, and why was it done this way? Many questions described very specific situations -- e.g., what does the code do when an error occurs, how to refactor without breaking callers, or the implications of a specific change on security. These questions revealed opportunities for both existing research tools to help developers and for developing new languages and tools that make answering these questions easier.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Citations
Cites
(1994) · Cited by 21,711
DART: directed automated random testing
Godefroid, P., Klarlund, N., & Sen, K. (2005) · ACM SIGPLAN Notices · doi:10.1145/1064978.1065036 · Cited by 2,067
CCFinder: a multilinguistic token-based code clone detection system for large scale source code
Kamiya, T., Kusumoto, S., & Inoue, K. (2002) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2002.1019480 · Cited by 1,711
DART: directed automated random testing
Godefroid, P., Klarlund, N., & Sen, K. (2005) · Proceedings of the 2005 ACM SIGPLAN conference on Programming language design and implementation · doi:10.1145/1065010.1065036 · Cited by 1,570
Anvik, J., Hiew, L., & Murphy, G. C. (2006) · Proceedings of the 28th international conference on Software engineering · doi:10.1145/1134285.1134336 · Cited by 924
An overview of JML tools and applications
Burdy, L., Cheon, Y., Cok, D. R., Ernst, M. D., Kiniry, J. R., Leavens, G. T., Leino, K. R. M., & Poll, E. (2005) · International Journal on Software Tools for Technology Transfer · doi:10.1007/s10009-004-0167-4 · Cited by 714
Maintaining mental models: a study of developer work habits
LaToza, T. D., Venolia, G., & DeLine, R. (2006) · Proceedings of the 28th international conference on Software engineering · doi:10.1145/1134285.1134355 · Cited by 628
Self-citationTypestate: A programming language concept for enhancing software reliability
Strom, R. E., & Yemini, S. (1986) · IEEE Transactions on Software Engineering · doi:10.1109/tse.1986.6312929 · Cited by 626
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 8×
“One study found 21 questions about interactions with code, other artifacts, and teammates [15].”
BackgroundInfluentialException handling: issues and a proposed notation
Goodenough, J. B. (1975) · Communications of the ACM · doi:10.1145/361227.361230 · Cited by 496
Cited by
Items 101–142 of 142
Nguyen, T. H., Kiyomitsu, H., Sun, Y. M., Nishida, T., & Ohtsuki, K. (2024) · International Conference on Information and Education Technology (ICIET) · doi:10.1109/iciet60671.2024.10542766 · Cited by 2
“It has been noted that there is a growing number of software developers who struggle with coding [3].”
BackgroundCollaborative Software Development Through Reflection and Storytelling
Mahoney, M. (2017) · ACM Conference on Computer Supported Cooperative Work (CSCW) · doi:10.1145/3022198.3023268 · Cited by 2
“In a recent paper [1], 179 software developers from Microsoft were asked, “What hard to answer questions about code have you recently asked?” below are several responses:”
MethodCai, H. (2015) · IEEE International Conference on Software Quality, Reliability and Security Companion (QRS-C) · doi:10.1109/qrs-c.2015.46 · Cited by 4
“One merit with visual programming [3, 6, 13] is that its integrated interface empowers smooth transitions among the workflow steps of developers—the interface provides all programming elements (of visual forms) so that the developers involved in the interface can easily maintain their mental…”
The Object Repository: Pulling Objects out of the Ecosystem
Spasojević, B., Ghafari, M., & Nierstrasz, O. (2016) · International Workshop on Smalltalk Technology · doi:10.1145/2991041.2991048 · Cited by 3
“This means that the author of a class, or anyone else through extensions, can specify a way that the object can represent itself.”
BackgroundAnalyzing Individual Contribution and Collaboration in Student Software Teams
Pinho, D. (2013) · ERA: Education and Research Archive (University of Alberta) · doi:10.7939/r3hg6m · Cited by 2
TestLoop: A Process Model Describing Human-in-the-Loop Software Test Suite Generation
Davis, M. C., Choi, S., Wei, A., Estep, S., Myers, B. A., & Sunshine, J. S. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3765754 · Cited by 3
““Interesting” does not simply mean “failing”: passing tests results may also be interesting, such as in the case where a passing test should have failed given that errors may exist in the PUT, in the program information, or even in the test itself [10, 66].”
Self-citationBöhme, L., Thiede, C., Mattis, T., Beckmann, T., Lincke, J., & Hirschfeld, R. (2025) · ACM SIGPLAN International Workshop on Programming Abstractions and Interactive Notations, Tools, and Environments (PAINT) · doi:10.1145/3759534.3762682 · Cited by 1
“[ 14–16].”
InfluentialFrom Disruptions to Discussions: How GenAI Impacts Human Interactions in Software Development
Salomon, M., Koshchenko, E., Sergeyuk, A., Holmes, R., Murphy, G. C., & Fritz, T. (2026) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2026.3655626 · Cited by 1
“Similarly, studies of the questions developers ask during code comprehension indicate that many require human expertise to resolve, particularly those concerning design rationale, dependencies, or historical decisions, underscoring the central role of peer knowledge in development work [16].”
Fritz, T. (2011) · cIRcle (University of British Columbia) · doi:10.14288/1.0052138 · Cited by 1
Do Tools Support Code Integration? A Survey.
Dias, M., Ducasse, S., Cassou, D., & Uquillas-Gomez, V. (2016) · The Journal of Object Technology · doi:10.5381/jot.2016.15.2.a2 · Cited by 2
Integrating concerns with development environments
Juhár, J. (2016) · ACM SIGPLAN International Conference on Systems, Programming, Languages, and Applications: Software for Humanity (SPLASH) · doi:10.1145/2984043.2984047 · Cited by 1
“That makes it hard to answer questions about the intent behind a particular piece of code [7].”
BackgroundHow did the failure come to be?
Azadmanesh, M. R., & Hauswirth, M. (2017) · doi:10.1145/3141842.3141845 · Cited by 1
“LaToza and Myers [10] conducted a survey of software developers at Microsoft as part of which they identified the most frequent hard-to-answer questions asked by developers during coding activities.”
BackgroundMethodInfluentialSupporting Source Code Annotations with Metadata-Aware Development Environment
Juhár, J. (2019) · Annals of Computer Science and Information Systems · doi:10.15439/2019f161 · Cited by 3
CGMBL: Combining GAN and Method Name for Bug Localization
Chen, H., Yang, H., Yan, Z., Kuang, L., & Zhang, L. (2022) · IEEE International Conference on Software Quality, Reliability and Security (QRS) · doi:10.1109/qrs57517.2022.00033 · Cited by 1
“When a bug is reported, developers need to identify the buggy source code files according to their understanding of the project and the description in the bug report, which costs a lot of time and effort for developers and requires them to have a higher understanding of the project code [1].”
BackgroundBreaking the Bento Box: Accelerating Visual Momentum in Data-flow Analysis
Yoo, J., & Murphy, G. C. (2023) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme58846.2023.00038 · Cited by 2
“To mitigate this threat, we included reachability questions that were found to be asked by developers in the field (e.g., [8], [33]), in addition to the questions we encountered during our work as software developers.”
MethodRAT: A Refactoring-Aware Tool for Tracking Code History
Niu, F., Shao, J., Xu, C., Mayr‐Dorn, C., Assunção, W. K. G., Huang, L., Li, C., Ge, J., Luo, B., & Egyed, A. F. (2024) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3639478.3640047 · Cited by 1
“LaToza and Myers also found that sometimes the entire history of a code block is more helpful for developers [9].”
BackgroundAllen, J. A., & Kelleher, C. L. (2024) · International Workshop on Cooperative and Human Aspects of Software Engineering (CHASE) · doi:10.1145/3641822.3641864 · Cited by 4
“In particular, programmers find it hard to understand the reasoning for the implementation decisions of the original developer [33, 36, 37].”
BackgroundInfluentialCollaborative Software Visualization in Co-located Environments
Anslow, C. (2013) · doi:10.26686/wgtn.17006065.v1 · Cited by 1
Wu, Q. (2024) · DR-NTU (Nanyang Technological University) · doi:10.32657/10356/174975 · Cited by 1
Supporting software integration activities with first-class code changes
Dias, V. (2015) · theses.fr (ABES) · doi:10.70675/9c17a005z4d83z40cfzb648z2fbd363e66b4 · Cited by 4
Querypoint Debugging (Semi-Automated Inspection of Buggy Execution)
Mirghasemi, S. (2012) · Infoscience (Ecole Polytechnique Fédérale de Lausanne) · doi:10.5075/epfl-thesis-5533 · Cited by 1
Debugging Framework Applications: Benefits and ChallengesPreprint
Coker, Z., Widder, D. G., Goues, C. L., Bogart, C., & Sunshine, J. S. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1801.05366
“Previous work hasfound that developers incorporate scent finding [28] and ask dataflow questions while debugging generally [27]; The ability to easily answer dataflow questions can significantly reduce the time required in de-bugging [21].”
BackgroundKey classes in object-oriented systems
Vale, L. D. N. (2017) · doi:10.14393/ufu.te.2017.32
Ollis, G. (2019) · Bournemouth University Research Online (Bournemouth University) · Cited by 2
Bowes, D., Petrić, J., & Hall, T. (2020) · International Conference on Program Comprehension · doi:10.1145/3387904.3389299
“However, developers are often interested in source code at the line level [3, 7].”
Interactive Graph Exploration for Comprehension of Static Analysis Results
Toledo, R. (2021) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse-companion52605.2021.00129
“There have been a number of early exploratory user studies [10, 13, 18], and recent follow-up works [2, 11, 12, 19] that categorize program comprehension questions and engineers’ information needs.”
BackgroundCollaborative Software Visualization in Co-located Environments
Anslow, C. (2013) · Open Access Victoria University of Wellington | Te Herenga Waka (Figshare) · doi:10.26686/wgtn.17006065 · Cited by 2
Efficient Information Retrieval for Software Bug Localization
Khatiwada, S. (2022) · Louisiana State University · doi:10.31390/gradschool_dissertations.5769
Quality Assessment of Crowdsourced Testing Cases
Wang, Q., Chen, Z., Wang, J., & Feng, Y. (2022) · Springer eBooks · doi:10.1007/978-981-16-9643-5_12
Code Stories for Software Repurposing
Allen, J. (2023) · IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC) · doi:10.1109/vl-hcc57772.2023.00063
“Often, this process breaks down; programmers have difficulty understanding the original developers’ intentions and design decisions which shaped the source code [2], and have difficulty reasoning about analogies between the source code and their target solution [3].”
BackgroundNguyen, T. H., Sun, Y. M., Nishida, T., Wang, X., Ohtsuki, K., & Kiyomitsu, H. (2025) · Lecture notes in computer science · doi:10.1007/978-981-96-0914-7_14
CodeQG: Automated Multiple Question Generation for Source Code Comprehension
Zhang, X., Chen, L., Qi, K., Zou, W., Pang, L., Zhang, L., Zhang, P., Xu, G., & Zhang, D. (2025) · International Journal of Software Engineering and Knowledge Engineering · doi:10.1142/s0218194025500214
How do Developers Use Code Suggestions in Pull Request Reviews?
Bouraffa, A., Pham, Y. D., & Maalej, W. (2025) · International Workshop on Cooperative and Human Aspects of Software Engineering (CHASE) · doi:10.1109/chase66643.2025.00033 · Cited by 3
“The results of our survey have shown that code review suggestions also contribute to knowledge sharing by acting as a searchable information source, primarily for code rationale—often stated as a rare commodity [3], [43], [44].”
Key-Augmented Neural Triggers for Knowledge SharingPreprint
Wolf, A., Palma, M. A., Rani, P., & Gall, H. C. (2025) · SSRN Electronic Journal · doi:10.2139/ssrn.5376750
Sonifying and Visualizing the Heartbeat of Evolving Software Systems
Armenti, C., Raglianti, M., & Lanza, M. (2025) · IEEE Working Conference on Software Visualization (VISSOFT) · doi:10.1109/vissoft67405.2025.00009 · Cited by 4
“Moreover, the lack of dynamic temporal representations can significantly hinder program comprehension, as developers rely heavily on historical context to make informed decisions during software maintenance and evolution tasks [6], [7], [15].”
DevTales: A Tool for Providing Narrative Code Histories into Developer Workflows
Allen, J., Park, S., & Kelleher, C. L. (2025) · IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC) · doi:10.1109/vl-hcc65237.2025.00013 · Cited by 1
“When studying unfamiliar code in bottom-up program comprehension, programmers specifically struggle to answer questions about the code’s rationale , history , and provenance [1].”
InfluentialInterruptions and Recovery: Leveraging Dynamic Code History in Development
Pham, V. T. T., Zhou, H., & Kelleher, C. L. (2025) · IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC) · doi:10.1109/vl-hcc65237.2025.00012
“The strategies observed were addressing questions relating to testing, debugging, and location identified by LaToza and Myers [53].”
Supporting integration activities in object-oriented applications
Gómez, V. U. (2012) · theses.fr (ABES) · doi:10.70675/f2bc75a3z2609z4292z9e0dz8f01820bf242 · Cited by 7
AI-Assisted Requirements Traceability for Industrial Software: An Empirical Study
Li, Y., Lu, C., & Gong, L. (2026) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner67736.2026.00100
“This work employs LLMs as enabling technology to address requirements traceability—analogous to how static analyzers augment developer capabilities [61], [62].”
LACY: Simulating Expert Mentoring for Software Onboarding with Code Tours
Kara, Z. B., İsmail, A., Ateş, E., Tamcı, İ. N., İyigün, Z., Aslangül, S. Ş., Devran, Ö., Uçar, B. M., & Tüzün, E. (2026) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3803437.3805218 · Cited by 2
“Mentoring provides newcomers with a guiding narrative about where to start, how components connect, and what to prioritize [13], and it helps them think through “hard-to-answer questions about code” [26].”
Automating Code-Change Rationale Generation to Support Software Maintenance Tasks
Sun, M. (2026) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3774748.3787676
The Evolution of Information Seeking in Software Development: Understanding the Role and Impact of AI Assistants
Haque, E. A., Brown, C., LaToza, T. D., & Johnson, B. (2024) · arXiv
“On the flip side, LaToza et al. [25] surveyed 179 professional developers regarding hard-to-answer questions about code to better understand information needs developers encounter challenges trying to fulfill.”
Self-citation
Metadata
- Authors
- LaToza, T. D., & Myers, B. A.
- Affiliations
- Carnegie Mellon University (US)
- Venue
- Evaluation and Usability of Programming Languages and Tools
- Publisher
- ACM
- Published
- 2010-10-17
- Pages
- 1-6
- OpenAlex
- W1987614102
- Semantic Scholar
- 89df5d321047ea11cace4f38cebb65a2af3cd625
- Cited by
- 141
- References
- 35
- Citations by year
- 2026: 5 · 2025: 10 · 2024: 13 · 2023: 5 · 2022: 13 · 2021: 7 · 2020: 6 · 2019: 13 · 2018: 9 · 2017: 11 · 2016: 10 · 2015: 12 · 2014: 8 · 2013: 10 · 2012: 6
- FWCI
- 4.27
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- Evaluation and Usability of Programming Languages and Tools (publishedVersion)
- Funders
- National Science Foundation (CCF-0811610ITR CCR-0324770)
- Division of Computing and Communication Foundations (CCF-0811610ITR CCR-0324770)
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Information Systems › Software Engineering Techniques and Practices
- Physical Sciences › Computer Science › Computer Science Applications › Teaching and Learning Programming
- Keywords
- program comprehension, developer intent, debugging, refactoring, error handling, developer survey, programming language design, software development tools
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.