Support for value types in an object-oriented programming language

被引:0
|
作者
Ritterbach, B [1 ]
机构
[1] Logimod GmbH, D-25436 Moorrege, Germany
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Values and objects are two different logical concepts. Objects can be created and changed, values, in contrast, exist per se and are immutable. Current object-oriented languages support mainly objects and classes of objects. Classes cannot be used to simulate value types in a satisfactory way. The paper proposes a language element that supports arbitrary value types and that can be embedded in an object-oriented language. It describes the corresponding keywords, syntax, and consistency checks. Thereby, it gives an impression of the "look and feel" of value types from an application programmer's perspective.
引用
收藏
页码:9 / 23
页数:15
相关论文
共 50 条