Scala Design Patterns
Patterns for Practical Reuse and Design
Authors: Hunt, John
Free Preview- Interprets purely Functional Patterns in terms of design patterns for use in Scala's hybrid style
- Illustrates how to maximise code reuse through functions, currying, and dependency injection using Scala language facilities
- Presents the Gang of Four Design Patterns using Scala language structures (which differ significantly from languages such as Java with the inclusion of Functions as first class language elements)
Buy this book
- About this book
-
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.
- Table of contents (44 chapters)
-
-
Introduction
Pages 3-11
-
Design Patterns
Pages 13-22
-
UML and Scala
Pages 23-50
-
Immutability
Pages 53-59
-
Singleton
Pages 61-69
-
Table of contents (44 chapters)
Recommended for you

Bibliographic Information
- Bibliographic Information
-
- Book Title
- Scala Design Patterns
- Book Subtitle
- Patterns for Practical Reuse and Design
- Authors
-
- John Hunt
- Copyright
- 2013
- Publisher
- Springer International Publishing
- Copyright Holder
- Springer International Publishing Switzerland
- eBook ISBN
- 978-3-319-02192-8
- DOI
- 10.1007/978-3-319-02192-8
- Hardcover ISBN
- 978-3-319-02191-1
- Softcover ISBN
- 978-3-319-34972-5
- Edition Number
- 1
- Number of Pages
- XXII, 327
- Number of Illustrations
- 41 b/w illustrations, 49 illustrations in colour
- Topics