咨询与建议

看过本文的还看了

相关文献

该作者的其他文献

文献详情 >Design pattern implementation ... 收藏

Design pattern implementation in Java and AspectJ

作     者:Hannemann, J Kiczales, G 

作者机构:Univ British Columbia Vancouver BC V6T 1Z4 Canada 

出 版 物:《ACM SIGPLAN NOTICES》 (ACM SIGPLAN Not.)

年 卷 期:2002年第37卷第11期

页      面:161-173页

核心收录:

学科分类:08[工学] 0835[工学-软件工程] 0812[工学-计算机科学与技术(可授工学、理学学位)] 

基  金:Our thanks go to Gail Murphy and the anonymous reviewers for their helpful comments on earlier versions of this paper 

主  题:design languages design patterns aspect-oriented programming 

摘      要:AspectJ implementations of the GoF design patterns show modularity improvements in 17 of 23 cases. These improvements are manifested in terms of better code locality, reusability, composability, and (un)pluggability. The degree of improvement in implementation modularity varies, with the greatest improvement coming when the pattern solution structure involves crosscutting of some form, including one object playing multiple roles, many objects playing one role, or an object playing roles in multiple pattern instances.

读者评论 与其他读者分享你的观点

用户名:未登录
我的评分