RO  EN
IMI/Publicaţii/CSJM/Ediţii/CSJM v.13, n.3 (39), 2005/

Concept as a Generalization of Class and Principles of the Concept-Oriented Programming

Authors: Savinov Alexandr

Abstract

In the paper we describe a new construct which is referred to as concept and a new concept-oriented approach to programming. Concept generalizes conventional classes and consists of two parts: an objects class and a reference class. Each concept has a parent concept specified via inclusion relation. Instances of reference class are passed by value and are intended to represent instances of child object classes. The main role of concepts consists in indirect object representation and access. In concept-oriented programming it is assumed that a system consists of (i) conventional target business methods (BMs), and (ii) hidden representation and access (RA) methods. If conventional classes are used to describe only BMs then concepts allow the programmer to describe both types of functionality including its hidden intermediate functions which are automatically executed when objects are being accessed.

Alexandr Savinov
Institute of Mathematics and Informatics,
Academy of Sciences of Moldova
5 Academiei str.
Chisinau, MD2028, Moldova.
E-mail :
Home page : http://conceptoriented.com/savinov



Fulltext

Adobe PDF document0.42 Mb