2012 · 290 citations · 30 references
ComputingComputer ScienceDocumentationProgramming LanguagesSoftware EngineeringApplication Programming InterfacesEnd-user ProgrammingExplanationQuestion AnsweringSoftware DesignSoftware DocumentationApi DesignApi DocumentationCode ComprehensionLearning Activities DesignProgram ComprehensionSource Code Analysis
Programmers learning how to use an API or a programming language often rely on code examples to support their learning activities. However, what makes for an effective ode example remains an open question. Finding the haracteristics of the effective examples is essential in improving the appropriateness of these learning aids. To help answer this question we have onducted a qualitative analysis of the questions and answers posted to a programming Q&A web site called StackOverflow. On StackOverflow answers can be voted on, indicating which answers were found helpful by users of the site. By analyzing these well-received answers we identified haracteristics of effective examples. We found that the explanations acompanying examples are as important as the examples themselves. Our findings have implications for the way the API documentation and example set should be developed and evolved as well as the design of the tools assisting the development of these materials.
30
Design lessons from the fastest q&a site in the west
Lena Mamykina, Bella Manoim, Manas Mittal et al. · 2011 · 555 citations
Computing, Computer Science, Design +10
Six Learning Barriers in End-User Programming Systems
Amy J. Ko, Brad A. Myers, Htet Htet Aung · 2004 · 547 citations · Full text
Computing, Computer Science, Design +16
Two studies of opportunistic programming
Joel Brandt, Philip J. Guo, Joel Lewenstein et al. · 2009 · 447 citations