Object-oriented Programming with Gradual Abstraction

被引:0
|
作者
Normark, Kurt [1 ]
Thomsen, Lone Leth [1 ]
Thomsen, Bent [1 ]
机构
[1] Aalborg Univ, Dept Comp Sci, Aalborg, Denmark
关键词
Languages; Design; Experimentation; ASL2; objects before classes; weak and strong classification of objects; abstraction steps; Scheme;
D O I
10.1145/2480360.2384583
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We describe an experimental object-oriented programming language, ASL2, that supports program development by means of a series of abstraction steps. The language allows immediate object construction, and it is possible to use the constructed objects for concrete problem solving tasks. Classes and class hierarchies can be derived from the objects - via gradual abstraction steps. We introduce two levels of object classification, called weak and strong object classification. Strong object classification relies on conventional classes, whereas weak object classification is looser, and less restrictive. As a central mechanism, weakly classified objects are allowed to borrow methods from each other. ASL2 supports class generalization, as a counterpart to class specialization and inheritance in mainstream object-oriented programming languages. The final abstraction step discussed in this paper is a syntactical abstraction step that derives a source file with a syntactical class form.
引用
收藏
页码:41 / 51
页数:11
相关论文
共 50 条
  • [1] DATA ABSTRACTION, DATA ENCAPSULATION AND OBJECT-ORIENTED PROGRAMMING
    COHEN, AT
    [J]. SIGPLAN NOTICES, 1984, 19 (01): : 31 - 35
  • [2] OBJECT-ORIENTED PROGRAMMING LANGUAGES AS TOOLS FOR FORMULATIONS OF SYSTEM ABSTRACTION
    Kindler, Eugene
    Krivy, Ivan
    [J]. APLIMAT 2009: 8TH INTERNATIONAL CONFERENCE, PROCEEDINGS, 2009, : 583 - 592
  • [3] OBJECT-ORIENTED MOTION ABSTRACTION
    ERKAN, B
    OZGUC, B
    [J]. JOURNAL OF VISUALIZATION AND COMPUTER ANIMATION, 1995, 6 (01): : 49 - 65
  • [4] OBJECT-ORIENTED PROGRAMMING WITHOUT AN OBJECT-ORIENTED LANGUAGE
    BOOCH, G
    SEIDEWITZ, E
    START, M
    FIRESMITH, D
    [J]. SIGPLAN NOTICES, 1986, 21 (11): : 508 - 508
  • [5] OBJECT-ORIENTED PROGRAMMING
    BAINES, R
    [J]. ELECTRONICS & WIRELESS WORLD, 1989, 95 (1638): : 370 - 374
  • [6] OBJECT-ORIENTED PROGRAMMING
    ANDERSON, B
    [J]. MICROPROCESSORS AND MICROSYSTEMS, 1988, 12 (08) : 433 - 442
  • [7] OBJECT-ORIENTED PROGRAMMING
    TELLO, ER
    [J]. DR DOBBS JOURNAL, 1987, 12 (03): : 126 - &
  • [8] OBJECT-ORIENTED PROGRAMMING
    TENDYKE, RP
    KUNZ, JC
    [J]. IBM SYSTEMS JOURNAL, 1989, 28 (03) : 465 - 478
  • [9] OBJECT-ORIENTED PROGRAMMING
    TYUGU, EH
    [J]. PROGRAMMING AND COMPUTER SOFTWARE, 1990, 16 (06) : 233 - 241
  • [10] OBJECT-ORIENTED PROGRAMMING
    POUNTAIN, D
    [J]. BYTE, 1990, 15 (02): : 257 - &