What’s new in Kotlin 1.2

What’s new in Kotlin 1.2?


The Latest version of  the statistically typed language Kotlin, that is the version 1.2, is a version of another language Java and is being entered by Google on a bigger scale for the Android App Development ,has now been coming up with an experimental feature that offers the excessive reuse of the codes,that can be used across many platforms, as well as it is compatible with the Java 9 module system.


Thus, with the version 1.2.20 update that had been released on January 17, Kotlin has also shown up a number of capabilities from a large number of areas such as the Gradle building system to even coming up with the easiness of building Android mobile applications.


With The recent update promising to be to resolve all the bugs of the previous versions, here is what they have on hand to offer to us:


  • They will be providing extensive support to the development model that has come up with the JavaScript DCE that is the dead code elimination Gradle Task.
  • IDE  would be backing up all new style guide develop by Kotlin, which would cover the entire formatting of code and making use of idioms that is a higher grade of language as well as managing out capabilities of the library.
  • Comes up with improvements for the incremental compilation for the hybrid versions of the Java/Kotlin projects as well as the Android projects.        
  • Exclusive cacheSupport built along with Gradle.
  • Improvements In the overall performance as well as coming up with a high ratio of fixing bugs and inspecting them in the IntelliJ IDEA plugin for Kotlin. 


This Update has higher compatibility for  IntelliJ IDEA IDE from 2017.1 to 2017.3.However,  it also can work up with the versions 3.0 and 3.1 of the Android Studio IDE1.


Where to get Kotlin 1.2

Kotlin 1.2 Comes up with JetBrains’ IntelliJ Idea 2017.3 IDE, that is going to be released by the 1st of December.If  you are using the Android Studio IDE or an older version of IntelliJ, You can get the updates  the following this  method:


Tools > Kotlin > Configure Kotlin Plugin Updates.


New Features Introduced with the latest version, Kotlin 1.2


The experimental multiplatform projects of Kotlin are capable enough to let your developer we use the code as a supporter of the targeted platforms.This code has to be shared using the platforms with the help of a common module, For the platform dependent parts I kept surrounded with the platform-specific modules.And when they are compiled, the code gets reduced for both common as well as platform specific parts.Isn’t that cool?


The developers can come up with their own uniqueness as well as can express out the dependencies in consideration with the common quotes on the platform specific parts quit expected as well as actual real declarations.


Their Experimental platforms for more than one platform helps them reviews of course between the supported platforms such as JavaScript and JVM initially, and later on can there be used with the native ones.


The Declarations for the developers have a specific API, Can where are the actual declaration is meant to be platform specific for the API or has a similar type which means that it refers to an already existing implementation of the API in and outsource library. This can be used to perform the set of mathematical functions making use of the cross-platform codes.


The Cotton that my package also has a better position for the math polyfills that are being used with the help of JavaScript.Not only this, the standard library of the all-new Kotlin 1.2  can be used with the all-new Java 9 module system, that would completely backfire over splitting packages ( meaning feeling up a large number of data files that I used for declaring classes within the same package).


Whereas in kotlin 1.2, the kotlin-stdlib-jdk7 and kotlin-stdlib-jdk8, the artifacts get replaced with the older version of kotlin-stdlib-jre7 and kotlin-stdlib-jre8.


To Show it support for Java 9, Kotlin 1.2 has taken the biggest step by completely eradicating the deprecated declarations in the kotlin.


Reflect package which is available from the Kotlin- reflect library. All A developer has to do is to switch to use the declarations in the kotlin.reflect.full package, Which marked its debut in Kotlin 1.1.


Let Us also not forget to have a quick glance at the additional advantages that Kotlin 1.2 Promises to offer to us.:


It now stands out as a fully supportable and literals in annotations, thus leading to the simplification in coding.


Thus, it also uses a high consistent Syntax, which promises to be not so complicated.


The lateinit modifier embedded with it cannot be used for the local variables as well as the top-level properties.


You can develop a  lateinit variable and also check weather has it been


initialized or not with the help of the new reflection API.


Thus, Kotlin, Which was believed to be a language for the JVM initially, has now been expanded for the so that it can compile with JavaScript as well.All this wild language has received a major boost when it was endorsed by none other than Google as a perfect mechanism to develop and set up mobile applications for Android platform,  other than the traditional use of Java.This is what has made it to the highlights, making the Android app developers eager to use it and test their entities

Steve E Jimenez is very enthusiastic about modern technology and shares the wondrous thoughts keeping facts and figures in mind. He prefers to explore the cutting edge tech stuff. He is an early adopter and would like to stay up-to-date concerning advanced trends in the Industry.

Leave a Reply

Your email address will not be published. Required fields are marked *