计算机科学 > 程序设计语言
[提交于 2007年12月30日]
标题:Indirect Object Representation and Access by Means of Concepts
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The paper describes a mechanism for indirect object representation and access (ORA) in programming languages. The mechanism is based on using a new programming construct which is referred to as concept. Concept consists of one object class and one reference class both having their fields and methods. The object class is the conventional class as defined in OOP with instances passed by reference. Instances of the reference class are passed by value and are intended to represent objects. The reference classes are used to describe how objects have to be represented and accessed by providing custom format for their identifiers and custom access procedures. Such an approach to programming where concepts are used instead of classes is referred to as concept-oriented programming. It generalizes OOP and its main advantage is that it allows the programmer to describe not only the functionality of target objects but also intermediate functions which are executed behind the scenes as an object is being accessed.
提交历史
来自:Alexandr Savinov[v1] 2007年12月30日 星期日 14:56:05 UTC