- Functional Kotlin
- Mario Arias Rivu Chakraborty
- 56字
- 2021-06-24 19:15:29
Referential transparency
The concept of referential transparency says that, an expression always evaluates to the same value, irrespective of context or any other variance. To be more specific, you can replace a function with its return value.
Immutability, with help of pure functions, can establish referential transparency. Referential transparency strongly denies the mutable state of data.
推薦閱讀
- 深入理解Android(卷I)
- Python Game Programming By Example
- Python Deep Learning
- TypeScript實戰(zhàn)指南
- CouchDB and PHP Web Development Beginner’s Guide
- Android Native Development Kit Cookbook
- RSpec Essentials
- Mastering ROS for Robotics Programming
- Node.js開發(fā)指南
- 新印象:解構(gòu)UI界面設(shè)計
- Software Development on the SAP HANA Platform
- Java程序設(shè)計教程
- SAS編程演義
- 循序漸進(jìn)Vue.js 3前端開發(fā)實戰(zhàn)
- 樹莓派開發(fā)從零開始學(xué):超好玩的智能小硬件制作書