How are Websites Used During Development and What are the Implications for the Coding Process?
31 Pages Posted: 1 Sep 2022
Abstract
Websites are frequently used to support the development process. This paper investigates how websites are used when writing code and programmers’ perceptions of the potential impact of this on their behaviour and the quality of the resulting software. We interviewed 18 programmers (13 students enrolled in undergraduate computer science courses, and 5 experienced professionals), and analysed the data thematically. The findings were used to develop a survey, which was distributed to 276 programmers (251 students, 25 experienced professionals). The results indicate that use of websites, especially Stack Overflow, is viewed as an essential part of programming by both students completing coursework and professionals developing code in industry.We also found that developers have experience of encountering a diverse set of problematic code snippets online, that copying code from websites without checking its quality or understanding how it worked is common, and that using online resources in this way had a potentially counter-productive effect on learning. Based on these findings, we make a number of recommendations, including better consideration of online code reuse in taught programmes, co-development and code-reuse practices in professional settings, and software licensing training for professional developers.
Keywords: Stack Overflow, online code snippets, problematic code, human memory, computer science education, professional practice
Suggested Citation: Suggested Citation