You can read more about new language features such as: mixing named and positional arguments, trailing comma, callable reference improvements, and using break and continue inside when included in loops on the Kotlin 1.4 release notes page. In Kotlin 1.4 you can now mark your Kotlin interfaces as functional and get them to work in a similar manner by adding the fun keyword: having just a Single Abstract Method - SAM) defined in the Java programming language benefited from the shorthand syntax in Kotlin:Įxecutor.execute Previously, only functional interfaces (i.e. New language features introduced in Kotlin 1.4 improve the ergonomics of writing Kotlin code. ![]() You can read more about Kotlin 1.4 in the official announcement. ![]() Below you'll find a brief rundown of some exciting new features in this release. Today we are excited to share the news about the Kotlin 1.4 release, the next milestone in the evolution of Kotlin, which contains new language features, improved compilers and tools. As Kotlin has grown, we’ve seen continued investment in the language from JetBrains (Kotlin's creators), the open source community, and increasingly our own teams at Google. When we adopted Kotlin as a supported language on Android, and then shifted to a Kotlin-first approach, one of the main drivers was the excitement and adoption from the developer community. ![]() Posted by Wojtek Kaliciński, Developer Advocate, Android
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |