Advertisement

Scala Design Patterns

Patterns for Practical Reuse and Design

  • John Hunt

Table of contents

  1. Front Matter
    Pages i-xxii
  2. Introduction

    1. Front Matter
      Pages 1-1
    2. John Hunt
      Pages 3-11
    3. John Hunt
      Pages 13-22
    4. John Hunt
      Pages 23-50
  3. Fundamental Patterns

    1. Front Matter
      Pages 51-51
    2. John Hunt
      Pages 53-59
    3. John Hunt
      Pages 61-69
    4. John Hunt
      Pages 71-75
    5. John Hunt
      Pages 77-83
  4. Code Reuse Patterns

    1. Front Matter
      Pages 85-85
    2. John Hunt
      Pages 87-91
    3. John Hunt
      Pages 93-97
    4. John Hunt
      Pages 99-102
    5. John Hunt
      Pages 103-107
    6. John Hunt
      Pages 109-114
    7. John Hunt
      Pages 115-119
    8. John Hunt
      Pages 121-125
    9. John Hunt
      Pages 127-131
  5. Gang of Four Patterns

    1. Front Matter
      Pages 133-133
    2. John Hunt
      Pages 135-136
    3. John Hunt
      Pages 137-146
    4. John Hunt
      Pages 147-154
    5. John Hunt
      Pages 155-161
    6. John Hunt
      Pages 163-168
    7. John Hunt
      Pages 169-181
    8. John Hunt
      Pages 183-188
    9. John Hunt
      Pages 189-194
    10. John Hunt
      Pages 195-200
    11. John Hunt
      Pages 201-205
    12. John Hunt
      Pages 207-213
    13. John Hunt
      Pages 215-221
    14. John Hunt
      Pages 223-231
    15. John Hunt
      Pages 233-238
    16. John Hunt
      Pages 239-243
    17. John Hunt
      Pages 245-255
    18. John Hunt
      Pages 257-262
    19. John Hunt
      Pages 263-269
    20. John Hunt
      Pages 271-276
    21. John Hunt
      Pages 277-282
  6. Functional Design Patterns

    1. Front Matter
      Pages 283-283
    2. John Hunt
      Pages 285-289
    3. John Hunt
      Pages 291-296
    4. John Hunt
      Pages 297-300
    5. John Hunt
      Pages 301-306
    6. John Hunt
      Pages 307-310
    7. John Hunt
      Pages 311-314
    8. John Hunt
      Pages 315-318
    9. John Hunt
      Pages 319-322
    10. John Hunt
      Pages 323-327

About this book

Introduction

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.

Keywords

Dependence Injection Design Patterns Hybrid OO and Functional Patterns Object-Oriented Programming Scala

Authors and affiliations

  • John Hunt
    • 1
  1. 1.Department of Computer Science and Creative TechnologiesUniversity of the West of EnglandBristolUnited Kingdom

Bibliographic information

  • DOI https://doi.org/10.1007/978-3-319-02192-8
  • Copyright Information Springer International Publishing Switzerland 2013
  • Publisher Name Springer, Cham
  • eBook Packages Computer Science
  • Print ISBN 978-3-319-02191-1
  • Online ISBN 978-3-319-02192-8
  • Buy this book on publisher's site
Industry Sectors
Pharma
Automotive
Chemical Manufacturing
Biotechnology
Finance, Business & Banking
Electronics
IT & Software
Telecommunications
Energy, Utilities & Environment
Aerospace
Engineering