A Functional Pattern System for Object-Oriented Design

Categories:

Recommended

Problem

The object-oriented paradigm has undoubtfully raised our ability to design and maintain large complex software systems. However, it does not seem to have meet the high expectations concerning reuse and ease of evolution which have been promoted ever since its commercial success.

There are many potential reasons for the above observation such as unqualified staff, immature languages, inadequate methodologies, inappropriate business processes, etc.

The view presented here is that although the object-oriented paradigm is a powerful basis, it is incomplete in its inherent concepts and therefore restricts the design space to inappropriate solutions. It is assumed that both software development and language design are restrained from achieving their full potential when restricted to a purely object-oriented worldview.

Solution

Since the complementary paradigm to object-orientation is represented by functional programming, I investigate high-level, well-known to work functional concepts and examine their suitability to enhance object-oriented design. I explore the software engineering relevance of each concept and present its intent, applicability, implementation, and consequences in the literate form of a design pattern.

My approach clearly motivates functional techniques for object-oriented design from a software engineering point of view. This is different to the usual procedure of designing a new language with an “ad-hoc” conglomeration of functional and object-oriented features. The latter case requires excellence in language design and makes it hard to find out and evaluate uses of the new language.

In contrast, design patterns are already widely used to improve design. As functional concepts constitute a powerful paradigm by themselves, it is more than suggestive to assume that design patterns expressing successful functional concepts will enhance the object-oriented paradigm with new capabilities.

Category:

Attribution

Thomas Kuhne. A Functional Pattern System for Object-Oriented Design. http://homepages.mcs.vuw.ac.nz/~tk/fps/fps-sans-escher.pdf

VP Flipbook Maker

Powered by Visual Paradigm Online’s free flipbook maker. Would you like to create your own flipbook? You can always make flipbooks like this and share with others easily. Bring your flipbook to live now with Visual Paradigm’s Flipbook tool!!!