- 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.
- Practical Data Analysis Cookbook
- OpenDaylight Cookbook
- JavaScript修煉之道
- Java加密與解密的藝術(shù)(第2版)
- Python數(shù)據(jù)分析(第2版)
- JavaScript從入門到精通(第3版)
- Visual C
- Spring+Spring MVC+MyBatis整合開發(fā)實(shí)戰(zhàn)
- Nginx實(shí)戰(zhàn):基于Lua語(yǔ)言的配置、開發(fā)與架構(gòu)詳解
- Asynchronous Android Programming(Second Edition)
- Android驅(qū)動(dòng)開發(fā)權(quán)威指南
- C++20高級(jí)編程
- Mastering Python Design Patterns
- RocketMQ實(shí)戰(zhàn)與原理解析
- 青少年學(xué)Python(第2冊(cè))