Scala Design Patterns - John Hunt

Scala Design Patterns

Patterns for Practical Reuse and Design

(Autor)

Buch | Softcover
XXII, 327 Seiten
2016 | 1. Softcover reprint of the original 1st ed. 2013
Springer International Publishing (Verlag)
978-3-319-34972-5 (ISBN)
90,94 inkl. MwSt
Explaining how to achieve code reuse in Scala, this review of the exciting new programming language includes numerous code examples. It explores functional design patterns and considers how these can be interpreted in Scala's uniquely hybrid style.

Scala is a new and exciting programming language that is a hybrid between object oriented languages such as Java and functional languages such as Haskell. As such it has its own programming idioms and development styles.

Scala Design Patterns looks at how code reuse can be successfully achieved in Scala. A major aspect of this is the reinterpretation of the original Gang of Four design patterns in terms of Scala and its language structures (that is the use of Traits, Classes, Objects and Functions). It includes an exploration of functional design patterns and considers how these can be interpreted in Scala's uniquely hybrid style.

A key aspect of the book is the many code examples that accompany each design pattern, allowing the reader to understand not just the design pattern but also to explore powerful and flexible Scala language features. Including numerous source code examples, this book will be of value to professionals and practitioners working in the field of software engineering.

Author's Note.- Part I - Introduction.- Introduction.- Design Patterns.- UML and Scala.- Part II - Fundamental Patterns.- Immutability.- Singleton.- Marker Trait.- Delegation.- Part III - Code Reuse Patterns.- Lazy Parameters.- Partially Applied Functions.- Trait Based Template Operation.- Stackable Traits.- Currying and Code Reuse.- Cake Pattern.- Structural Injection.- Implicit Injection Pattern.- Part IV - Gang of Four Patterns.- Gang of Four Design Patterns.- Gang of Four Patterns Catalogs.- Factory Operation.- Abstract Factory Pattern.- Builder.- Adapter Pattern.- Decorator.- Facade.- Flyweight.- Proxy.- Filter.- Bridge.- Chain of Responsibility.- Command.- Strategy.- Mediator.- Observer.- State.- Visitor.- Memento.- Part V - Functional Design Patterns.- Functor.- Applicative Functor.- Monoid Pattern.- Monad Pattern.- Foldable.- Zipper.- Lens Pattern.- View Pattern.- Arrow Pattern.

Erscheinungsdatum
Zusatzinfo XXII, 327 p. 90 illus., 49 illus. in color.
Verlagsort Cham
Sprache englisch
Maße 155 x 235 mm
Themenwelt Mathematik / Informatik Informatik Betriebssysteme / Server
Mathematik / Informatik Informatik Software Entwicklung
Schlagworte Computer programming / software engineering • Computer Science • Dependence Injection • Design Patterns • Hybrid OO and Functional Patterns • object-oriented programming • Operating Systems • Programming Techniques • Scala • Software engineering • Software Engineering/Programming and Operating Sys
ISBN-10 3-319-34972-4 / 3319349724
ISBN-13 978-3-319-34972-5 / 9783319349725
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich