OBJECT-ORIENTED PROGRAMMING VERSUS ABSTRACT-DATA-TYPES

被引:0
|
作者
COOK, WR
机构
关键词
ABSTRACT DATA TYPE; OBJECT-ORIENTED PROGRAMMING; HIGHER-ORDER PROCEDURES; INCREMENTAL PROGRAMMING; EXTENSIBILITY; TYPING;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This tutorial collects and elaborates arguments for distinguishing between object-oriented programming and abstract data types. The basic distinction is that object-oriented programming achieves data abstraction by the use of procedural abstraction, while abstract data types depend upon type abstraction. Object-oriented programming and abstract data types can also be viewed as complimentary implementation techniques: objects are centered around the constructors of a data abstraction, while abstract data types are organized around the operations. These differences have consequences relating to extensibility, efficiency, typing, and verification; in many cases the strengths of one paradigm are the weaknesses of the other. Most object-oriented programming languages support aspects of both techniques, not a unification of them, so an understanding of their relative merits is useful in designing programs.
引用
收藏
页码:151 / 178
页数:28
相关论文
共 50 条