官术网_书友最值得收藏!

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
主站蜘蛛池模板: 海淀区| 台前县| 长春市| 平武县| 大名县| 胶南市| 榆林市| 绥宁县| 册亨县| 泗洪县| 宝兴县| 高阳县| 宝应县| 全椒县| 马山县| 分宜县| 桃源县| 剑河县| 平凉市| 科技| 清水河县| 信宜市| 谢通门县| 澎湖县| 额尔古纳市| 辉县市| 南漳县| 南乐县| 湛江市| 通许县| 马山县| 茶陵县| 郸城县| 巴东县| 汾阳市| 河北省| 舟曲县| 禹州市| 海城市| 格尔木市| 三门峡市|