z-logo
open-access-imgOpen Access
Software Reusability Through Versions
Author(s) -
Waldemar Wieczerzycki
Publication year - 1996
Publication title -
softw. pract. exp.
Language(s) - English
DOI - 10.1002/(sici)1097-024x(199608)26:8%3c911::aid-spe39%3e3.0.co;2-e
In this paper a new approach for modelling program variants (versions) is proposed, which is focused on increasing the level of software reuse, rather than on enriching data model. In this approach, a program is composed of a program body and a set of logically independent program contexts. The program body contains global functions and global data structures. Each program context contains exactly one variant of every class defined in the program and one variant of every non-global function, called a context function. Variants of the same cladfunction belonging to different contexts need not be different. During the program execution only one context is active. It may, however, be changed dynamically at program run-time. Thus, at a particular moment of time the program is viewed as a sum of the program body and exactly one program context.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom