摘要
文中分析了目前面向对象(OO)的程序设计方法学存在的结构异常、代码重用难等问题.提出了多视图的编程范式,支持用户定义和引用对核心数据结构的局部视图,由ADT编译器建立统一的公用类型,以此支持公用类型的逐步扩充及代码的重用.然后论文讨论了类型视图的定义,合一类型的多个视图的方法,并讨论了该范式下进行增量式编译的方案.在编译器软件的开发中已显示了该编程范式能够降低编程和维护代价.
The structure abnormal and class abnormal problem in O O programming is studied, and a multi aspect programming paradigm is introduced in the paper.It lets the user build his part of program on his local view of data structure.An ADT compiler will unify those distributed views into a uniform type,which is called public type.This approach lets the user refine the public type comfortably.Also introduced are the syntax to define views and the method to unify multiple type views.Finally,an incremental re compilation method for the paradigm is shown.Some experience shows that the multi aspect approach can reduce the cost for developing and maintaining a project that has complex internal data structure.
出处
《计算机研究与发展》
EI
CSCD
北大核心
1999年第4期440-445,共6页
Journal of Computer Research and Development
关键词
多视图编程范式
局部视图
ADT
编译器
multi aspect programming paradigm,type evolution,public type,local type view,abstract data type compiler