- 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語言程序設計
- QGIS:Becoming a GIS Power User
- HTML5入門經典
- 從零開始學C#
- 動手學數據結構與算法
- Emgu CV Essentials
- 從Power BI到Analysis Services:企業級數據分析實戰
- UX Design for Mobile
- Python Programming for Arduino
- Python應用與實戰
- SQL Server on Linux
- Java從入門到精通(視頻實戰版)
- Learning iOS Penetration Testing
- Go語言編程之旅:一起用Go做項目
- Learning SaltStack(Second Edition)