Software reuse is a crucial external quality attribute targeted by open-source and commercial projects. Despite that software reuse has experienced an increased adoption throughout the years, little is known about what aspects of code reuse developers discuss. In this paper, we present an empirical study of 1,409 posts to better understand the challenges developers face when reusing code. Our findings show that 'visual studio' is the top occurring bigrams for question posts, and there are frequent design patterns utilized by developers for the purpose of reuse. We envision our findings enabling researchers to develop guidelines to be utilized to foster software reuse.
翻译:软件重用是开源及商业项目追求的一项关键外部质量属性。尽管软件重用多年来得到了更广泛的采用,但关于开发者讨论代码重用的具体方面仍知之甚少。本文对1,409篇帖子进行了实证研究,旨在深入理解开发者在重用代码时面临的挑战。研究结果表明,“visual studio”是问题帖中出现频率最高的二元词组,而开发者出于重用目的频繁使用某些设计模式。我们期望这一发现能帮助研究者制定相关指南,以促进软件重用的发展。