- Android Development with Kotlin
- Marcin Moskala Igor Wojda
- 116字
- 2021-07-02 18:48:33
Laying a Foundation
This chapter is largely devoted to the fundamental building blocks that are core elements of the Kotlin programming language. Each one may seem insignificant by itself, but combined together, they create really powerful language constructs. We will discuss the Kotlin type system that introduces strict null safety and smart casts. Also, we will see a few new operators in the JVM world, and many improvements compared to Java. We will also present new ways to handle application flows and deal with equality in a unified way.
In this chapter, we will cover the following topics:
- Variables, values, and constants
- Type inference
- Strict null safety
- Smart casts
- Kotlin data types
- Control structures
- Exceptions handling
推薦閱讀
- Intel Galileo Essentials
- Power Up Your PowToon Studio Project
- Java編程指南:基礎(chǔ)知識(shí)、類庫應(yīng)用及案例設(shè)計(jì)
- The React Workshop
- Oracle BAM 11gR1 Handbook
- Python時(shí)間序列預(yù)測
- 21天學(xué)通C++(第5版)
- Swift 4從零到精通iOS開發(fā)
- Python Data Science Cookbook
- Android應(yīng)用開發(fā)深入學(xué)習(xí)實(shí)錄
- 并行編程方法與優(yōu)化實(shí)踐
- Python預(yù)測分析實(shí)戰(zhàn)
- 深入理解Java虛擬機(jī):JVM高級特性與最佳實(shí)踐
- 游戲設(shè)計(jì)的底層邏輯
- Zend Framework 2 Cookbook