Sciweavers

ECOOP
1998
Springer

Synthesizing Object-Oriented and Functional Design to Promote Re-Use

13 years 8 months ago
Synthesizing Object-Oriented and Functional Design to Promote Re-Use
Many problems require recursively speci ed types ofdata and a collection of tools that operate on those data. Over time, these problems evolve so that the programmer must extend the toolkit or extend the types and adjust the existing tools accordingly. Ideally, this should be done without modifying existing code. Unfortunately, the prevailing program design strategies do not support both forms of extensibility: functional programming accommodates the addition of tools, while object-oriented programming supports either adding new tools or extending the data set, but not both. In this paper, we present a composite design pattern that synthesizes the best of both approaches and in the process resolves the tension between the two design strategies. We also show how this protocol suggests a new set of linguistic facilities for languages that support class systems. 1 Evolutionary Software Development Programming practice frequently confronts programmers with the following design dilemma. A ...
Shriram Krishnamurthi, Matthias Felleisen, Daniel
Added 05 Aug 2010
Updated 05 Aug 2010
Type Conference
Year 1998
Where ECOOP
Authors Shriram Krishnamurthi, Matthias Felleisen, Daniel P. Friedman
Comments (0)