- Functional Kotlin
- Mario Arias Rivu Chakraborty
- 51字
- 2021-06-24 19:15:30
Compiler optimization
Immutability and referential transparency help compilers to perform extensive optimizations, replacing the need of manual optimization of code and free programmers from this trade-off.
For example, this applies when you're using compile time constants (const val), as the compiler knows that the value of those variables will never change.
推薦閱讀
- JavaScript前端開發(fā)模塊化教程
- Python概率統(tǒng)計
- 數(shù)據(jù)結(jié)構(gòu)和算法基礎(chǔ)(Java語言實現(xiàn))
- 無代碼編程:用云表搭建企業(yè)數(shù)字化管理平臺
- Visual Basic程序設(shè)計教程
- Python應(yīng)用輕松入門
- Visual Basic程序設(shè)計實驗指導(dǎo)(第二版)
- Scala Reactive Programming
- 0 bug:C/C++商用工程之道
- Python項目實戰(zhàn)從入門到精通
- 從零開始:UI圖標(biāo)設(shè)計與制作(第3版)
- Serverless Web Applications with React and Firebase
- 虛擬現(xiàn)實建模與編程(SketchUp+OSG開發(fā)技術(shù))
- Java程序設(shè)計
- Test-Driven Java Development(Second Edition)