Book Image

Scala Design Patterns - Second Edition

By : Ivan Nikolov
Book Image

Scala Design Patterns - Second Edition

By: Ivan Nikolov

Overview of this book

Design patterns make developers’ lives easier by helping them write great software that is easy to maintain, runs efficiently, and is valuable to the company or people concerned. You’ll learn about the various features of Scala and will be able to apply well-known, industry-proven design patterns in your work. The book starts off by focusing on some of the most interesting and latest features of Scala while using practical real-world examples. We will be learning about IDE’s and Aspect Oriented Programming. We will be looking into different components in Scala. We will also cover the popular "Gang of Four" design patterns and show you how to incorporate functional patterns effectively. The book ends with a practical example that demonstrates how the presented material can be combined in real-life applications. You’ll learn the necessary concepts to build enterprise-grade applications. By the end of this book, you’ll have enough knowledge and understanding to quickly assess problems and come up with elegant solutions.
Table of Contents (14 chapters)

Applying What We Have Learned

We have already come a long way in Scala and in learning about the various design patterns in the language. Now, you should be at a stage where you are confident about when to use specific design patterns and when to avoid them. You saw some of the specifics and nice features of Scala that lead to its expressiveness. We went through the Gang of Four design patterns as well as some important functional programming concepts, such as monads. Throughout this book, we have tried to keep mathematical theories to a really basic level, and we have tried to avoid some scary Greek letters in formulas that are hard to understand for non-mathematicians, who may also want to use a functional programming language to its full potential.

The aim of this and the next chapter is to look at Scala from a more practical point of view. Knowing about a language and some...