- 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.
推薦閱讀
- UI設計基礎培訓教程
- Kali Linux Web Penetration Testing Cookbook
- 跟“龍哥”學C語言編程
- 神經網絡編程實戰:Java語言實現(原書第2版)
- Full-Stack Vue.js 2 and Laravel 5
- Learning Unity 2D Game Development by Example
- C語言程序設計實驗指導 (第2版)
- Building Android UIs with Custom Views
- R用戶Python學習指南:數據科學方法
- Extending Unity with Editor Scripting
- 石墨烯改性塑料
- Java程序設計教程
- OpenCV 3.0 Computer Vision with Java
- 從零開始構建深度前饋神經網絡:Python+TensorFlow 2.x
- INSTANT EaselJS Starter