Abstract | ||
---|---|---|
A pattern is a general, reusable solution to a commonly occurring problem in software design. Programmers use patterns to produce effective and reliable software systems. However, pattern-related information usually reflects high-level user intentions that might not be available in source code when the coding process has been completed. Without proper documentation, those patterns may be concealed or destroyed during software maintenance and evolution. Being conscious of pattern occurrences can help understand source code and thereby provide deeper insight into a software product. In this paper, we argue that one should properly annotate object-oriented design patterns in source code and verify the consistency between patterns and code. This idea is demonstrated with the Singleton as well as the Strategy pattern, and we show how to assure some semantic aspects of these two patterns using a permission type system. |
Year | DOI | Venue |
---|---|---|
2012 | 10.1109/APSEC.2012.106 | APSEC |
Keywords | Field | DocType |
reliable software systems,deeper insight,software reliability,design patterns,pattern-related information,annotation,strategy pattern,annotate object-oriented design pattern,semantic aspects,reliable software system,software maintenance,high-level user intentions,design pattern,software evolution,user intent,object-oriented programming,software product,pattern occurrences,reusable solution,proper documentation,singleton,object-oriented design patterns,software reusability,system documentation,source code,software design,permission assurance,program compilers,pattern occurrence,coding process,object oriented programming | Software design,Systems engineering,Software engineering,Source code,Computer science,Software design pattern,Software maintenance,Software construction,Software visualization,Architectural pattern,Software development | Conference |
Volume | ISSN | ISBN |
1 | 1530-1362 | 978-1-4673-4930-7 |
Citations | PageRank | References |
0 | 0.34 | 3 |
Authors | ||
4 |
Name | Order | Citations | PageRank |
---|---|---|---|
Yang Zhao | 1 | 836 | 116.78 |
Lingnan Song | 2 | 0 | 0.34 |
Gongxuan Zhang | 3 | 94 | 19.89 |
John Boyland | 4 | 375 | 33.06 |