- Learn Kotlin Programming(Second Edition)
- Stephen Samuel Stefan Bocutiu
- 146字
- 2021-06-24 14:13:35
Summary
For a Java developer wanting to migrate to Kotlin, this chapter ended up reviewing well-known concepts. Regardless of whether you have programmed in an OOP language before or not, you now know the key concepts of this software design approach, and you can write code that is object-orientated, using the new features available in Kotlin, and make it more structured and readable. I cannot overemphasize how important it is to favor composition over inheritance. There is no standard recipe for getting it right. Your goal should always be to keep things simple, and you should do the same when building a class hierarchy.
In the Chapter 4, Functions in Kotlin, you will get an in-depth view of functions in Kotlin. You will see how the language has borrowed from C# extension methods—special methods that allow you to add new functionality to existing classes.
- Mastering Concurrency Programming with Java 8
- 數據庫程序員面試筆試真題與解析
- Wireshark Network Security
- Scratch 3.0少兒編程與邏輯思維訓練
- Raspberry Pi 2 Server Essentials
- C語言程序設計
- Spring MVC+MyBatis開發從入門到項目實踐(超值版)
- 零基礎學C++(升級版)
- Python Web自動化測試設計與實現
- 大學計算機應用基礎(Windows 7+Office 2010)(IC3)
- Mastering Apache Camel
- Scala編程(第4版)
- C語言程序設計實驗指導教程
- Mastering Android NDK
- 企業級DevOps技術與工具實戰