“To Clean Code or Not to Clean Code” A Survey Among Practitioners
2022 (English)In: Product-Focused Software Process Improvement / [ed] Taibi D., Kuhrmann M., Mikkonen T.,, Springer Science+Business Media B.V., 2022, p. 298-315Conference paper, Published paper (Refereed)
Abstract [en]
Context: Writing code that is understandable by other collaborators has become crucial to enhancing collaboration and productivity. Clean Code has become one of the most relevant software craftsmanship practices and has been widely embraced as a synonym for code quality by software developers and software development organizations all over the world. However, very little is known regarding whether developers agree with Clean Code principles and how they apply them in practice.
Objectives: In this work, we investigated how developers perceive Clean Code principles, whether they believe that helps reading, understanding, reusing, and modifying Clean Code, and how they keep their code clean.
Methods: We conducted a Systematic Literature Review in which we screened 771 research papers to collect Clean Code principles and a survey among 39 practitioners, some of them with more than 20 years of development experience.
Results: So far, the results show a shared agreement with Clean Code principles and their potential benefits. They also show that developers tend to write “messy” code to be refactored later. © 2022, The Author(s), under exclusive license to Springer Nature Switzerland AG.
Place, publisher, year, edition, pages
Springer Science+Business Media B.V., 2022. p. 298-315
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 13709
Keywords [en]
Software design, Clean code, Code principle, Code quality, Development experiences, Potential benefits, Research papers, Software developer, Software development organizations, Systematic literature review, Writing codes, Surveys, Survey
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:bth-24062DOI: 10.1007/978-3-031-21388-5_21ISI: 000897035000021Scopus ID: 2-s2.0-85142710041ISBN: 9783031213878 (print)OAI: oai:DiVA.org:bth-24062DiVA, id: diva2:1717689
Conference
23rd International Conference on Product-Focused Software Process Improvement, PROFES 2022, Jyväskylä, 21-23 November 2022
Part of project
SHADE- A value-oriented strategy for managing the degradation of software assets, Knowledge FoundationSERT- Software Engineering ReThought, Knowledge Foundation
Funder
Knowledge Foundation, 20170176Knowledge Foundation, 2018010
Note
Open access
2022-12-092022-12-092024-01-02Bibliographically approved