- Scala Design Patterns
- Ivan Nikolov
- 140字
- 2021-07-16 12:57:28
Summary
In this chapter, we focused on unification. We saw how there is a unification between functions and classes, ADTs, and class hierarchies as well as modules and objects. This allows us to be much more expressive and write cleaner and more efficient code. We also covered what pattern matching is and how it can be used in Scala to write good code.
Some of the concepts covered in this chapter will be useful in the following chapters where we will be implementing concrete design patterns. They can also be used to write good software outside the defined design patterns just because the expressivity of Scala allows it, and this defies the need to do the extra work that design patterns add.
In the next chapter, we will look into abstract and self-types and for what they can be useful.
- Java語言程序設計
- Hands-On Machine Learning with scikit:learn and Scientific Python Toolkits
- ReSharper Essentials
- Oracle Exadata性能優化
- Dependency Injection in .NET Core 2.0
- 領域驅動設計:軟件核心復雜性應對之道(修訂版)
- ExtJS高級程序設計
- LabVIEW虛擬儀器程序設計從入門到精通(第二版)
- 區塊鏈國產化實踐指南:基于Fabric 2.0
- Mastering Docker
- 平面設計經典案例教程:CorelDRAW X6
- 算法設計與分析:基于C++編程語言的描述
- UI設計基礎培訓教程(全彩版)
- Android Studio開發實戰:從零基礎到App上線 (移動開發叢書)
- OpenStack Networking Cookbook