arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 0801.0135cs.PL
收藏

概念及其在程序设计语言中建模对象和引用中的应用

Concepts and their Use for Modelling Objects and References in Programming Languages

Alexandr Savinov

摘要:

在本文中,一个新的编程结构,称为概念,介绍。概念是两个类的对:引用类和对象类。引用类中的所有类都是按值传递的,用于表示对象。对象类的对象是按引用传递的。一种使用概念而不是类的编程方法称为面向概念编程(CoP)。在CoP中,对象通过引用间接表示和访问。概念的结构描述了一个具有虚拟地址系统的层次空间。本文描述了这种新的编程方法,包括引用解析,复杂引用,方法拦截,双重方法,生命周期管理继承和多态性等机制。

英文摘要:

In the paper a new programming construct, called concept, is introduced. Concept is pair of two classes: a reference class and an object class. Instances of the reference classes are passed-by-value and are intended to represent objects. Instances of the object class are passed-by-reference. An approach to programming where concepts are used instead of classes is called concept-oriented programming (CoP). In CoP objects are represented and accessed indirectly by means of references. The structure of concepts describes a hierarchical space with a virtual address system. The paper describes this new approach to programming including such mechanisms as reference resolution, complex references, method interception, dual methods, life-cycle management inheritance and polymorphism.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑