- 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.
推薦閱讀
- Node.js Design Patterns
- SQL學習指南(第3版)
- 自己動手實現Lua:虛擬機、編譯器和標準庫
- Python從入門到精通(精粹版)
- Hadoop+Spark大數據分析實戰
- jQuery開發基礎教程
- 碼上行動:用ChatGPT學會Python編程
- Clojure Reactive Programming
- Microsoft Azure Storage Essentials
- MongoDB,Express,Angular,and Node.js Fundamentals
- PHP+Ajax+jQuery網站開發項目式教程
- Java程序員面試筆試寶典(第2版)
- IPython Interactive Computing and Visualization Cookbook
- STM8實戰
- Java EE架構設計與開發實踐