Kotlin 1.4 arrives with IDE and compiler enhancements
- 20 August, 2020 11:10
IDE improvements in Kotlin 1.4 include a coroutine debugger and a Kotlin Project Wizard, which creates Kotlin projects of different types. The IDE also gains 40 new quick fixes, intentions, and inspections. And thanks to IDE performance tweaks, autocomplete suggestions and content highlighting in large Kotlin files are faster.
Instructions for getting started with Kotlin can be found at kotlinlang.org. Statically typed Kotlin is positioned for the JVM, Android development, and the browser. In May 2017 Google endorsed Kotlin for the development of Android mobile apps.
Other features in Kotlin 1.4 include:
- SAM (single abstract method) conversions for Kotlin interfaces.
- An explicit API mode for library authors.
- Mixing of named and positional arguments.
- Trailing comma.
- Callable reference improvements.
- Experimental type annotations.
- Use of break and continue inside when in loops.
- Standard library improvements including new collection operators, delegated properties improvements and other capabilities, such as a double-ended queue implementation, ArrayDeque.
- Gradually eovling coroutines based on user feedback.
- The serialization library is getting closer to maturity with the release of serialization 1.0.0-RC.
- The kotlinx-datetime library and preview of the DateTime API.
- Improved performance of Kotlin/Native compilation and execution.
- Better interoperability between Kotlin/Native and Swift/Objective-C.
- Simplified management of CocoaPods dependencies.