- Functional Kotlin
- Mario Arias Rivu Chakraborty
- 73字
- 2021-06-24 19:15:29
Failure atomicity
In traditional programming, failure in one thread can easily affect the other one. As immutability enforces low coupling, the internal state of the application will be consistent, even when we have exceptions on any module/thread.
The reason is simple, the immutable objects never change state. So, even if failure occurs in one part/module/thread, it stops right there and doesn't get any chance to get spread to other parts of the application.
推薦閱讀
- Mastering JavaScript Object-Oriented Programming
- PyTorch Artificial Intelligence Fundamentals
- UI智能化與前端智能化:工程技術(shù)、實(shí)現(xiàn)方法與編程思想
- Java性能權(quán)威指南(第2版)
- C語言程序設(shè)計(jì)學(xué)習(xí)指導(dǎo)與習(xí)題解答
- 單片機(jī)應(yīng)用與調(diào)試項(xiàng)目教程(C語言版)
- Unity Game Development Scripting
- Mastering Android Game Development
- 從零開始學(xué)C語言
- 一塊面包板玩轉(zhuǎn)Arduino編程
- Photoshop智能手機(jī)APP界面設(shè)計(jì)
- Xamarin Cross-Platform Development Cookbook
- Data Manipulation with R(Second Edition)
- 零基礎(chǔ)學(xué)Java(第5版)
- ANSYS FLUENT 16.0超級(jí)學(xué)習(xí)手冊(cè)