- 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.
- 從零開(kāi)始:數(shù)字圖像處理的編程基礎(chǔ)與應(yīng)用
- Java程序設(shè)計(jì)實(shí)戰(zhàn)教程
- Mastering Concurrency in Go
- Eclipse Plug-in Development:Beginner's Guide(Second Edition)
- Hands-On RESTful Web Services with Go
- Easy Web Development with WaveMaker
- 微信小程序開(kāi)發(fā)與實(shí)戰(zhàn)(微課版)
- Web性能實(shí)戰(zhàn)
- 零基礎(chǔ)輕松學(xué)C++:青少年趣味編程(全彩版)
- Qt 4開(kāi)發(fā)實(shí)踐
- FusionCharts Beginner’s Guide:The Official Guide for FusionCharts Suite
- Swift Essentials(Second Edition)
- Java EE應(yīng)用開(kāi)發(fā)及實(shí)訓(xùn)
- C#編程魔法書(shū)
- Learning Predictive Analytics with R