![]() Java 8 CompatibilityĪs mentioned, Kotlin is internally dependent on Java 6, which places restrictions on what Java library types and language features Kotlin itself can use. Kotlin’s internal API is based on Java 6 which allows Kotlin to be compatible with Android. I really like Kotlin, I think it has a place in Java development regardless of whether you’re writing server-side or client-side, and regardless of your Java version. While this may seem a slightly negative approach for a blog post, my goal is to offer a more practical take instead of only mentioning all the cool things you can do. However, this post primarily serves to highlight a few gotchas that caught me out in the hopes that others may save some time when dealing with similar issues. There are many features of the language to enjoy when comparing against Java, terseness being high in the list. I have spent some time recently experimenting with Kotlin. While it can be compiled to JavaScript, the primary target is the JVM, and one of its core goals is 100% Java interoperability. It was originally announced in 2011 when a development version was made available to the public. Kotlin is a new language from JetBrains (of IntelliJ IDEA and ReSharper fame). ![]() Kotlin 1.0.0 was officially released in February this year.
0 Comments
Leave a Reply. |