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 条
  • [21] Modular Session Types for Distributed Object-Oriented Programming
    Gay, Simon J.
    Vasconcclos, Vasco T.
    Ravara, Antonio
    Gesbert, Nils
    Caldeira, Alexandre Z.
    ACM SIGPLAN NOTICES, 2010, 45 (01) : 299 - 312
  • [22] EXTENSION OF PASCAL TO ABSTRACT-DATA-TYPES
    PERMINOV, ON
    PROGRAMMING AND COMPUTER SOFTWARE, 1985, 11 (06) : 336 - 342
  • [23] ON THE IMPLEMENTATION OF ABSTRACT-DATA-TYPES IN BIRLIX
    LUX, W
    HARTIG, H
    KUHNHAUSER, W
    LECTURE NOTES IN COMPUTER SCIENCE, 1990, 433 : 87 - 109
  • [24] SPECIFICATION AND TESTING OF ABSTRACT-DATA-TYPES
    JALOTE, P
    COMPUTER LANGUAGES, 1992, 17 (01): : 75 - 82
  • [25] OBJECT-ORIENTED PROGRAMMING WITHOUT AN OBJECT-ORIENTED LANGUAGE
    BOOCH, G
    SEIDEWITZ, E
    START, M
    FIRESMITH, D
    SIGPLAN NOTICES, 1986, 21 (11): : 508 - 508
  • [26] Data design of object-oriented FEM programming
    Kang, Xiang'an
    Zhai, Ji
    Wuhan Jiaotong Keji Daxue Xuebao/Journal of Wuhan Transportation University, 1996, 20 (05): : 355 - 360
  • [27] DATA ABSTRACTION, DATA ENCAPSULATION AND OBJECT-ORIENTED PROGRAMMING
    COHEN, AT
    SIGPLAN NOTICES, 1984, 19 (01): : 31 - 35
  • [28] MELDING DATA FLOW AND OBJECT-ORIENTED PROGRAMMING
    KAISER, GE
    GARLAN, D
    SIGPLAN NOTICES, 1987, 22 (12): : 254 - 267
  • [29] OBJECT-ORIENTED PROGRAMMING
    ANDERSON, B
    MICROPROCESSORS AND MICROSYSTEMS, 1988, 12 (08) : 433 - 442
  • [30] OBJECT-ORIENTED PROGRAMMING
    BAINES, R
    ELECTRONICS & WIRELESS WORLD, 1989, 95 (1638): : 370 - 374