- 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.
推薦閱讀
- Python數(shù)據(jù)分析入門與實(shí)戰(zhàn)
- Oracle 11g從入門到精通(第2版) (軟件開發(fā)視頻大講堂)
- Spring技術(shù)內(nèi)幕:深入解析Spring架構(gòu)與設(shè)計(jì)
- 趣學(xué)Python算法100例
- 數(shù)據(jù)結(jié)構(gòu)與算法JavaScript描述
- Learn Programming in Python with Cody Jackson
- Easy Web Development with WaveMaker
- MySQL數(shù)據(jù)庫(kù)基礎(chǔ)實(shí)例教程(微課版)
- Reactive Android Programming
- 零基礎(chǔ)學(xué)Kotlin之Android項(xiàng)目開發(fā)實(shí)戰(zhàn)
- 21天學(xué)通C++(第5版)
- 大學(xué)計(jì)算機(jī)基礎(chǔ)
- Natural Language Processing with Python Quick Start Guide
- Node.js區(qū)塊鏈開發(fā)
- Building Slack Bots