- Functional Kotlin
- Mario Arias Rivu Chakraborty
- 63字
- 2021-06-24 19:15:29
The advantages of immutability
We've mentioned several times that immutability brings safety along with it. But that's not all; the following is a brief list of advantages that immutability brings with it, we will discuss them one by one:
- Thread safety
- Low coupling
- Referential transparency
- Failure atomicity
- Compiler optimization
- Pure functions
Let us now discuss each of the advantages to understand them better.
推薦閱讀
- C語言程序設(shè)計案例教程
- ClickHouse性能之巔:從架構(gòu)設(shè)計解讀性能之謎
- Android和PHP開發(fā)最佳實踐(第2版)
- Java開發(fā)入行真功夫
- 深入理解Java7:核心技術(shù)與最佳實踐
- iOS開發(fā)實戰(zhàn):從入門到上架App Store(第2版) (移動開發(fā)叢書)
- Learning Material Design
- Python數(shù)據(jù)可視化之美:專業(yè)圖表繪制指南(全彩)
- Tableau Desktop可視化高級應(yīng)用
- RESTful Web API Design with Node.js
- JSP應(yīng)用與開發(fā)技術(shù)(第3版)
- Serverless工程實踐:從入門到進階
- 趣學(xué)數(shù)據(jù)結(jié)構(gòu)
- 軟件測試項目實戰(zhàn)之功能測試篇
- Hands-On Game Development Patterns with Unity 2019