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

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.

主站蜘蛛池模板: 景谷| 同德县| 溧水县| 吉木乃县| 霍山县| 乐安县| 隆回县| 宁都县| 舟山市| 海伦市| 西城区| 雅江县| 五莲县| 安平县| 五指山市| 鹤岗市| 青海省| 吕梁市| 广安市| 海盐县| 甘肃省| 南靖县| 澄迈县| 乐亭县| 宜春市| 易门县| 西乌珠穆沁旗| 彩票| 鹰潭市| 民权县| 黄平县| 察隅县| 宝丰县| 普安县| 久治县| 新和县| 精河县| 江川县| 开阳县| 泸西县| 甘洛县|