arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0801.0133cs.PL
收藏

基于概念的程序设计方法

An Approach to Programming Based on Concepts

Alexandr Savinov

摘要:

在本文中,我们描述了一种新的编程方法,它概括了面向对象的编程。它基于使用一种新的编程构造,称为概念,它概括了类。概念被定义为一对两个类:一个引用类和一个对象类。每个概念都有一个父概念,父概念是使用包含关系泛化继承指定的。我们描述了几个重要的机制,如引用解析,上下文栈,对偶方法和生命周期管理,继承和多态性。这种编程方法被定位为一种新的编程范式,因此我们制定了它的主要原则和规则。

英文摘要:

In this paper we describe a new approach to programming which generalizes object-oriented programming. It is based on using a new programming construct, called concept, which generalizes classes. Concept is defined as a pair of two classes: one reference class and one object class. Each concept has a parent concept which is specified using inclusion relation generalizing inheritance. We describe several important mechanisms such as reference resolution, context stack, dual methods and life-cycle management, inheritance and polymorphism. This approach to programming is positioned as a new programming paradigm and therefore we formulate its main principles and rules.

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

↑