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

  • Kotlin Blueprints
  • Ashish Belagali Hardik Trivedi Akshay Chordiya
  • 182字
  • 2021-07-02 21:50:20

Summary

You might have noticed how Kotlin cuts down the boilerplate code and helps you write clean and concise code. It even makes the whole app development easier and fun. Overall, Kotlin is a great language with excellent IDE support and it has a light-weight runtime, which is a bonus considering the fact that it comes with 100% interoperability with Java. The Null safety helps to handle all the nulls at compile time and saves us from making a Billion-Dollar Mistake (https://en.wikipedia.org/wiki/Tony_Hoare).

We have successfully built our production ready geospatial messenger, which you can use to leave messages on the map on particular co-ordinates with Spring Boot while leveraging amazing features of Kotlin. We also saw how to write test cases in Kotlin, which is a great way to start writing Kotlin code in case you're afraid of writing actual logic.

In the next chapter, we will look at how to build web applications (RESTful web services) with the Ktor framework, which is built with Kotlin in mind and is a great alternative to Spring Boot when building web applications in Kotlin.

主站蜘蛛池模板: 高州市| 临泉县| 额尔古纳市| 云梦县| 红安县| 延长县| 寿光市| 黎城县| 康马县| 泗洪县| 瑞丽市| 石城县| 巫山县| 于田县| 张掖市| 砀山县| 犍为县| 河间市| 长乐市| 玉门市| 房产| 丽水市| 涿州市| 法库县| 正蓝旗| 静海县| 营口市| 澎湖县| 嘉义市| 察隅县| 平顶山市| 红安县| 敦化市| 珠海市| 广东省| 化德县| 南江县| 清水河县| 邵阳市| 长沙市| 丰县|