As this chapter illustrated, Kotlin is flexible and powerful and aims to improve upon existing languages and provide an enjoyable production-ready programming language. Kotlin allows developers to write code in whatever way makes sense to them. Whether it's object-oriented, reactive, or functional code, Kotlin can support it.
Kotlin's support for first-class functions opens up many possibilities for functional programming and the robust Standard library provides many convenient functions out of the box. If the functionality doesn't exist, you can write your own standalone functions or even extension functions to get the job done.
Years of collective experience and research have been considered in the design of Kotlin. This is fundamental to Kotlin and its interoperability with Java. Kotlin is built to work seamlessly with Java and to improve upon it. One...