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

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.

主站蜘蛛池模板: 临泽县| 莱芜市| 阿巴嘎旗| 高邮市| 云和县| 清水县| 菏泽市| 扶余县| 石首市| 玉田县| 绵阳市| 鞍山市| 漯河市| 边坝县| 军事| 江山市| 杂多县| 永丰县| 镇远县| 渭南市| 榆树市| 忻州市| 沛县| 昆明市| 潼南县| 筠连县| 汶川县| 山阳县| 刚察县| 克拉玛依市| 贵溪市| 尉氏县| 资中县| 商河县| 扎赉特旗| 瓦房店市| 定西市| 大荔县| 普洱| 平塘县| 遂昌县|