arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2208.07056cs.SE
收藏

从业人员“清码还是不清码”调查

"To Clean-Code or Not To Clean-Code" A Survey among Practitioners

Kevin Ljung, Javier Gonzalez-Huerta

摘要:

背景:编写其他合作者可以理解的干净代码已经成为提高合作和生产力的关键。然而,关于开发人员是否同意清洁代码原则以及他们如何在实践中应用这些原则,我们知之甚少。目的:在这项工作中,我们调查了开发人员如何看待Clean Code原则,他们是否认为这有助于阅读,理解,重用和修改Clean Code,以及他们如何在实践中处理Clean Code。研究方法:我们进行了一次系统的文献综述,其中我们考虑了771篇研究论文,以收集清洁代码原则,并对39名从业者进行了调查,其中一些人拥有超过20年的开发经验。结果:到目前为止,结果显示了与Clean Code原则及其潜在好处的共同协议。它们还表明,开发人员倾向于编写混乱的代码,以便稍后进行重构。

英文摘要:

Context: Writing Clean Code understandable by other collaborators has become crucial to enhancing collaboration and productivity. 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 deal with Clean Code in practice. Methods: We conducted a Systematic Literature Review in which we considered 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 its potential benefits. They also show that developers tend to write messy code to be refactored later.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑