- Functional Kotlin
- Mario Arias Rivu Chakraborty
- 56字
- 2021-06-24 19:15:28
Immutable values
The immutable values, on the other hand, enforce no change on values as well; it is really complex to maintain. In Kotlin, the const val properties enforces immutability of value, but they lack flexibility (we already discussed them) and you're bound to use only primitive types, which can be troublesome in real-life scenarios.
推薦閱讀
- 從零開始構建企業級RAG系統
- Learning LibGDX Game Development(Second Edition)
- Vue.js設計與實現
- Objective-C應用開發全程實錄
- Practical Game Design
- Spring實戰(第5版)
- HTML5+CSS3+JavaScript Web開發案例教程(在線實訓版)
- 軟件項目管理實用教程
- Learning Python Design Patterns
- Learning Material Design
- 編寫高質量代碼:改善Objective-C程序的61個建議
- 新印象:解構UI界面設計
- Java 從入門到項目實踐(超值版)
- jQuery技術內幕:深入解析jQuery架構設計與實現原理
- 嵌入式Linux C語言程序設計基礎教程