What’s new in Kotlin 1.2? Code reuse, for starters


Version 1.2 of the statically typed Kotlin language, a version of Java endorsed by Google for Android app development, offers an experimental feature enabling reuse of code across platforms, as well as compatibility with the Java 9 module system.

What’s new in Kotlin 1.2.30

The 1.2.30 update released on March 1, 2018, provides changes to the standard library as well as bug fixes. The update is compatible with multiple versions of the JetBrains IntelliJ Idea and the Android Studio 3.0 IDEs.
Its new capabilities include:
  • A new declaration in the library imitates the suspend modifier for lambda expressions.
  • Android modules are now supported in multiplatform projects.
  • The TestNG testing framework has been added to test.
  • The kapt annotation processing capability has been extended with error-reporting. It also adds proper links to original Kotlin declarations.
  • New inspections have been added to the IntelliJ IDE plugin, and performance has been improved as well. The plugin also has bug fixes.
  • Kotlin’s compiler has had bugs fixed and performance improved. To provide for more-efficient compiled code, the compiler now can optimize a tail call made in a suspending function to another Unit-returning suspending function.
Source : https://www.itworld.com/article/3229958/application-development/whats-new-in-kotlin-12-code-reuse-for-starters.html

No comments:

Post a Comment

iOS vs. Android: When it comes to brand loyalty, Android wins

Link Download Click Here While Apple may have a rep as the brand users would walk across broken glass for, Android users actually hav...