期刊论文详细信息
Computer Science and Information Systems
On Interplay between Separation of Concerns and Genericity Principles: Beyond Code Weaving
Kuldeep Kumar1  Stan Jarzabek2 
[1] Department of Computer Science and Information Systems;Faculty of Computer Science
关键词: generic design;    separation of concerns;    software reuse;    maintenance;    component-based development;    generative programming;    meta-programming;   
DOI  :  10.2298/CSIS160129028J
学科分类:社会科学、人文和艺术(综合)
来源: Computer Science and Information Systems
PDF
【 摘 要 】

Ideally, we would separate concerns by designing a program so that each concern is contained in a module. Unfortunately, we often have to deal with concerns that cannot be modularized, but instead cross-cut modules of our primary decomposition. Some of the cross-cutting concerns can be separated using compositional techniques such as Aspect-Oriented Programming (AOP) that weave code into modules at specified program points. Here, we focus on crosscutting concerns that would not be easily separable with code weaving compositional techniques due to their frequent and complex interactions with the modules of primary decomposition. Separation of Concerns (SoC) and genericity are two important Software Engineering principles to better control software complexity during development, maintenance, and reuse. In this paper, we study the interplay between these two principles, showing that there is an overlapping area where the goals of SoC and genericity, as well as means to achieve these goals, are the same. We make a case that by integrating the principles of SoC and genericity we can achieve non-redundancy, and at the same time enhance the visibility of inseparable concerns, offering a weaker, but still useful form of SoC. We illustrate the points we make with examples of program representations built with the Adaptive Reuse Technique (ART) that supports both SoC and generic mechanisms.

【 授权许可】

CC BY-NC-ND   

【 预 览 】
附件列表
Files Size Format View
RO201904025101954ZK.pdf 1469KB PDF download
  文献评价指标  
  下载次数:2次 浏览次数:18次