Parameterized Programming
Joseph A. Goguen · IEEE Transactions on Software Engineering · 1984
Parameterized programming is a powerful technique for the reliable reuse of software. In this technique, modules are parameterized over very general interfaces that describe what properties of an environment are required for the module to work correctly. Reusability is enhanced by the flexibility of the parameterization mechanism proposed here. Reliability is further enhanced by permitting interface requirements to include more than purely syntactic information. This paper introduces three new ideas that seem especially useful in supporting parameterized programming: 1) theories, which declare global properties of program modules and interfaces; 2) views, which connect theories with program modules in an elegant way; and 3) module expressions, a kind of general structured program transformation which produces new modules by modifying and combining existing modules. Although these ideas are illustrated with some simple examples in the OBJ programming language, they should also be taken as proposals for an Ada1library system, for adding modules to Prolog, and as considerations for future language design efforts. OBJ is an ultra-high level programming language, based upon rewrite rules, that incorporates these ideas, and many others from modern programming methodology.
Cited by 215 works. doi:10.1109/tse.1984.5010277
Authors
References
- LISP 1.5 PROGRAMMER'S MANUAL
- A theory of type polymorphism in programming
- Can programming be liberated from the von Neumann style?
- A technique for software module specification with examples
- The Semantics of Predicate Logic as a Programming Language
- Principles of program design
- Confluent Reductions: Abstract Properties and Applications to Term Rewriting Systems
- Edinburgh LCF
- Current trends in programming methodology
- Abstract data types and software validation