TY - GEN
T1 - How are design patterns concerned by developers?
AU - Jiang, He
AU - Liu, Dong
AU - Chen, Xin
AU - Liu, Hui
AU - Mei, Hong
N1 - Publisher Copyright:
© 2019 IEEE.
PY - 2019/5
Y1 - 2019/5
N2 - In recent years, design pattern has become an accepted concept in software design and many studies have involved various aspects of design patterns. However, it is an open question that how design patterns are discussed by developers. In this study, we conduct an empirical study to answer this question by soliciting Stack Overflow. First we build a new open catalog with 425 design patterns. Then, we extract 187,493 design pattern relevant posts from Stack Overflow. As to these posts, we find that the popularity of design patterns follows a long tail distribution. More surprisingly, nearly half of the posts focus on only five design patterns. We also successfully detect many potential new co-occuring design patterns, which could well complement the deficiency of existing studies.
AB - In recent years, design pattern has become an accepted concept in software design and many studies have involved various aspects of design patterns. However, it is an open question that how design patterns are discussed by developers. In this study, we conduct an empirical study to answer this question by soliciting Stack Overflow. First we build a new open catalog with 425 design patterns. Then, we extract 187,493 design pattern relevant posts from Stack Overflow. As to these posts, we find that the popularity of design patterns follows a long tail distribution. More surprisingly, nearly half of the posts focus on only five design patterns. We also successfully detect many potential new co-occuring design patterns, which could well complement the deficiency of existing studies.
KW - Design pattern
KW - Empirical study
KW - Stack Overflow
UR - http://www.scopus.com/inward/record.url?scp=85071881934&partnerID=8YFLogxK
U2 - 10.1109/ICSE-Companion.2019.00090
DO - 10.1109/ICSE-Companion.2019.00090
M3 - Conference contribution
AN - SCOPUS:85071881934
T3 - Proceedings - 2019 IEEE/ACM 41st International Conference on Software Engineering: Companion, ICSE-Companion 2019
SP - 232
EP - 233
BT - Proceedings - 2019 IEEE/ACM 41st International Conference on Software Engineering
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 41st IEEE/ACM International Conference on Software Engineering: Companion, ICSE-Companion 2019
Y2 - 25 May 2019 through 31 May 2019
ER -