- Scala Design Patterns
- Ivan Nikolov
- 229字
- 2021-07-16 12:57:26
Summary
By now, we have a fair idea about what a design pattern means and how it can affect the way we write our code. We've iterated the most famous design patterns out there, and we have outlined the main differences between them. We saw that in many cases, we could use Scala's features in order to make a pattern obsolete, simpler, or different to implement compared to the classical case for pure object-oriented languages. This book will show you how Scala makes it easier to write high-quality code.
Knowing what to look for when picking a design pattern is important, and you should already know what specific details to watch out for and how important specifications are.
Last but not least, we advise you to run the examples in this book, and we have provided some pointers that should make this really easy. In some cases, creating a complete solution using SBT or Maven might be too much hassle and something unnecessary, but we believe it is a good practice to follow. Additionally, the approaches we explained are used throughout the industry and will be beneficial outside the scope of this book.
In the next chapter, we will get straight to the practical part of this book, where we will look at traits and mixing compositions, what they are useful for, and how and when to use them.
- C語言程序設計習題解析與上機指導(第4版)
- C語言程序設計基礎與實驗指導
- Modular Programming in Java 9
- ASP.NET程序設計教程
- Mastering JavaScript Design Patterns(Second Edition)
- Python數據結構與算法(視頻教學版)
- MySQL入門很輕松(微課超值版)
- R語言:邁向大數據之路(加強版)
- Getting Started with Python
- JavaScript從入門到精通(視頻實戰版)
- 奔跑吧 Linux內核
- Practical Predictive Analytics
- Web開發的平民英雄:PHP+MySQL
- Using Yocto Project with BeagleBone Black
- Managing Windows Servers with Chef