OBJECT-ORIENTED PROGRAMMING - WHAT FOR

被引:0
|
作者
MOSSENBOCK, H [1 ]
机构
[1] SWISS FED INST TECHNOL,INST COMP SYST,CH-8092 ZURICH,SWITZERLAND
来源
JOURNAL OF MICROCOMPUTER APPLICATIONS | 1991年 / 14卷 / 03期
关键词
D O I
10.1016/0745-7138(91)90013-H
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Object-oriented programming can improve the structure of a program as well as its extensibility and re-usability. However, it can also cause problems: one has to master large class libraries; the control flow of a program is cluttered among many small operations; and accessing all data via procedures reduces efficiency. Therefore, objectoriented programming cannot always be recommended. It is well suited for interactive applications and for programs which maintain heterogeneous data structures where additional variants of the data may be added later. It should not be used for closed algorithms which work on simple data or for time-critical applications. This paper deals with the following questions: When should classes be used? What are the typical application areas of object-oriented programming? Examples are included which demonstrate problems that can be solved elegantly with classes. The language Object Oberon is introduced. © 1991.
引用
收藏
页码:217 / 228
页数:12
相关论文
共 50 条