- 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.
推薦閱讀
- Vue.js設計與實現
- C語言程序設計案例教程(第2版)
- Python Data Analysis(Second Edition)
- 鋒利的SQL(第2版)
- WordPress 4.0 Site Blueprints(Second Edition)
- Unity 2018 Shaders and Effects Cookbook
- 區塊鏈技術進階與實戰(第2版)
- Python編程:從入門到實踐(第3版)
- Web Developer's Reference Guide
- 工業機器人離線編程
- 深入淺出Python數據分析
- 物聯網系統架構設計與邊緣計算(原書第2版)
- 百萬在線:大型游戲服務端開發
- jQuery Mobile Web Development Essentials(Second Edition)
- 軟件開發中的決策:權衡與取舍