FreeTechBooks.com Homepage
FreeTechBooks.com
Free Online Computer Science and Programming Books, Textbooks, and Lecture Notes


A Functional Pattern System for Object-Oriented Design
Reply with quote
A Functional Pattern System for Object-Oriented Design

Author : Thomas Kühne (Metamodeling, Fachbereich Informatik, TU Darmstadt) and Verlag Dr. Kovac
ISBN : 3-86064-770-9
Pages : 328
Publication Date : August 1999

Book Excerpts:

This book integrates the vital areas of object-orientation, functional programming, design patterns, and language design. The most important concepts from functional programming are captured with six design patterns:

- Function Objects (Black-box behaviour parameterisation)
- Lazy Objects (Evaluation-by-need semantics)
- Value Objects (Immutable values)
- Void Objects (Abandoning null references)
- Transfold (Combining internal & external iteration)
- Translator (Homomorphic mapping with generic functions)

These patterns can be used with any object-oriented language to advance software design. The patterns form a system, i.e., a collaborating set of patterns. In their "Related Patterns" sections the patterns refer to each other and to many other published design patterns. The first part of the book introduces each of the relevant areas (object-orientation, functional programming, design patterns). This part also compares the functional and object-oriented paradigms both in terms of concepts and on a calculus level.

The second part presents the functional pattern system. This system should be beneficial to software practitioners since it integrates the functional paradigm into object-oriented software design. Hence, advantages which have been primarily available in functional languages can be used in object-oriented languages as well. Even when some functional concepts have been partially established in object-oriented software already, they can now be understood as specialised uses of more general function patterns.

This practical aspect is complemented by a theoretical account of multi-paradigm language design. In the third part, an evaluation of the pattern system for its implications on language design is concluded by proposing a new distribution of responsibilities between languages and their environments.

The book uses the Eiffel programming language to illustrate the patterns with running sample code. It includes a critical review of the Eiffel language in terms of its suitability as a functional pattern implementation language.

Arrow View/Download A Functional Pattern System for Object-Oriented Design

ndaru
Site Admin

Joined: 09 Oct 2004
Posts: 744
View user's profileSend private message
  
   
 Reply to topic