- Hands-On Design Patterns with Kotlin
- Alexey Soshin
- 124字
- 2021-06-25 20:49:27
Summary
So, in this chapter, we covered the main goals of the Kotlin programming language.
We went through the variables that are defined, such as val, var, null safety, and type inference. We observed how program flow is controlled by commands such as if, when, for, and while, and we also took a look at the different keywords used to define classes and interfaces: class, interface, data, and abstract class. We learned how to construct new classes and how we inherit from interfaces and implement classes. And finally, we learned what design patterns are good for, and why we need them in Kotlin.
In the next chapter, we'll start discussing the first of the three design pattern families: creation patterns.
推薦閱讀
- 微服務設計(第2版)
- Maven Build Customization
- Python計算機視覺編程
- Spring Boot進階:原理、實戰與面試題分析
- Learning DHTMLX Suite UI
- C++新經典
- Java程序設計入門
- OpenGL Data Visualization Cookbook
- Learning Material Design
- Julia 1.0 Programming Complete Reference Guide
- Emgu CV Essentials
- 軟件工程基礎與實訓教程
- Wearable:Tech Projects with the Raspberry Pi Zero
- Getting Started with Web Components
- 菜鳥成長之路