EVALUATION OF THE VISITOR PATTERN TO PROMOTE SOFTWARE DESIGN SIMPLICITY
Author(s) -
Aziz Nanthaamornphong,
Rattana Wetprasit
Publication year - 2015
Publication title -
jurnal teknologi
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.191
H-Index - 22
eISSN - 2180-3722
pISSN - 0127-9696
DOI - 10.11113/jt.v77.6186
Subject(s) - visitor pattern , simplicity , computer science , software design pattern , software design , class (philosophy) , software engineering , software , software design description , design pattern , software development , artificial intelligence , programming language , philosophy , epistemology
Design patterns, which have been widely used by software engineering communities, have been claimed to improve software design in previous studies. However, there is little empirical evidence to support such a claim. Additionally, the benefits of design patterns in software design have not been studied in sufficient detail to date. As a result, in this study, we used empirical methods to evaluate whether design patterns help developers improve the simplicity of software design. In particular, we analyzed how easily a given software design was understood. We chose the well-known Visitor pattern as the design pattern for this study. The results suggest that the Visitor pattern could help developers improve software design simplicity. Specifically, a class diagram with the Visitor pattern was found to be easier to understand than a class diagram without the design pattern.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom