A new upgrade to , the JetBrains-created statically typed programming language for JVM and Android development, puts an emphasis on improving existing functionality in areas such as the standard library while not adding new features.
Highlighting the Kotlin 1.3.70 release, which became available March 3, are experimental enhancements to the standard library. One such enhancement is , a generic data structure described as useful in many algorithms and applications.
The Kotlin standard library also adds new functions and classes for Kotlin collections, all in an experimental state.
StringBuilder functionality was added to the common
expect class, with the corresponding implementations on different platforms. Developers can use
StringBuilder from common code. Also in the standard library, some basic useful members of KClass no longer need a
kotlin-reflect dependency on the JVM.
Instructions on getting started with Kotlin 1.3.70 can be found on the . Elsewhere in Kotlin 1.3.70:
- The Kotlin/JVM compiler can now generate type annotations in bytecode for and subsequent targets.
- Quicker compilation and debugging for Kotlin/Native.
- Improvements have been made to using Kotlin scripts with the IntelliJ Idea IDE and Kotlin command-line tools. Kotlin code completion has been improved in IntelliJ as well, with completion suggestions including functions declared in objects, including extension functions, object-level overrides, and functions declared in nested objects.
Copyright © 2020 IDG Communications, Inc.